Enable strict type checking #12237
Annotations
2 errors
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 0x55eb25e6ea30>('utf-8')
+ where <built-in method decode of bytes object at 0x55eb25e6ea30> = 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