diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-12-13 18:47:18 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-12-13 18:47:18 -0500 |
commit | 5aac8f894f70588612d04607f1b6a3f7123d7aff (patch) | |
tree | 57667aa2605bd1dacbb4e8e415c1defe08401644 /tests/test_codeunit.py | |
parent | d4550d57754c90af0bc239c4c0121efab0ea2d09 (diff) | |
download | python-coveragepy-git-5aac8f894f70588612d04607f1b6a3f7123d7aff.tar.gz |
Zip files always produce bytes, and test that we get them decoded properly.
Diffstat (limited to 'tests/test_codeunit.py')
-rw-r--r-- | tests/test_codeunit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_codeunit.py b/tests/test_codeunit.py index b5571d3a..b90ac2e8 100644 --- a/tests/test_codeunit.py +++ b/tests/test_codeunit.py @@ -109,5 +109,5 @@ class CodeUnitTest(CoverageTest): self.assert_doesnt_exist(egg1.__file__) cu = code_unit_factory([egg1, egg1.egg1], FileLocator()) - self.assertEqual(cu[0].source(), "") - self.assertEqual(cu[1].source().split("\n")[0], "# My egg file!") + self.assertEqual(cu[0].source(), u"") + self.assertEqual(cu[1].source().split("\n")[0], u"# My egg file!") |