diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-25 17:40:09 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-25 17:40:09 -0400 |
commit | b810cbc0d06df0a04e3380166215b8ad2f40524c (patch) | |
tree | b0ea1499815b84301fa7991e37de128265526e81 /tests/test_files.py | |
parent | 15100248c12b85a00278371fea60f07718a9d499 (diff) | |
download | python-coveragepy-git-b810cbc0d06df0a04e3380166215b8ad2f40524c.tar.gz |
Properly handle filenames with non-ASCII characters. #432
Diffstat (limited to 'tests/test_files.py')
-rw-r--r-- | tests/test_files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_files.py b/tests/test_files.py index e3d33285..e7353235 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -27,7 +27,7 @@ class FilesTest(CoverageTest): def test_simple(self): self.make_file("hello.py") files.set_relative_directory() - self.assertEqual(files.relative_filename("hello.py"), "hello.py") + self.assertEqual(files.relative_filename(u"hello.py"), u"hello.py") a = self.abs_path("hello.py") self.assertNotEqual(a, "hello.py") self.assertEqual(files.relative_filename(a), "hello.py") |