We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d499a6 commit b98e5c0Copy full SHA for b98e5c0
tests/test_source.py
@@ -64,3 +64,10 @@ def test_customized_extensions(self):
64
self.assert_analysis([1], name="phd.tex", missing=[1])
65
# The editor leave-behinds are not in the measured files.
66
self.assert_measured_files("main.html", "unused.html", "phd.tex")
67
+
68
+ def test_non_utf8(self):
69
+ # Template containing a word encoded in CP-1252
70
+ self.make_file(self._path("german.txt"), bytes=b"sh\xf6n")
71
+ self.run_django_coverage(name="german.txt")
72
+ self.assert_measured_files("german.txt")
73
+ self.assert_analysis([1], name="german.txt")
0 commit comments