Enable strict type checking #12237
Annotations
3 errors
Test Unit:
panel/tests/test_server.py#L920
test_server_component_css_with_prefix_relative_url
assert 'href="static/extensions/panel/bundled/terminal/[email protected]/css/xterm.css' in '<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n <... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>'
+ where '<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n <... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>' = <built-in method decode of bytes object at 0x55bb291b3070>('utf-8')
+ where <built-in method decode of bytes object at 0x55bb291b3070> = b'<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n ... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>'.decode
+ where b'<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n ... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>' = <Response [200]>.content
|
Test Unit:
panel/tests/test_server.py#L928
test_server_component_css_with_subpath_and_prefix_relative_url
assert 'href="../static/extensions/panel/bundled/terminal/[email protected]/css/xterm.css' in '<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n <... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>'
+ where '<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n <... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>' = <built-in method decode of bytes object at 0x557225bf3150>('utf-8')
+ where <built-in method decode of bytes object at 0x557225bf3150> = b'<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n ... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>'.decode
+ where b'<!DOCTYPE html>\n<html lang="en" >\n <head>\n <meta charset="utf-8">\n <title>Panel Application</title>\n ... else document.addEventListener("DOMContentLoaded", fn, {once: true});\n })();\n </script>\n </body>\n</html>' = <Response [200]>.content
|
Test Unit
Process completed with exit code 1.
|
Loading