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 0x000002EEBEF58830>('utf-8')
+ where <built-in method decode of bytes object at 0x000002EEBEF58830> = 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 0x000002EEBEF57720>('utf-8')
+ where <built-in method decode of bytes object at 0x000002EEBEF57720> = 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