From b810cbc0d06df0a04e3380166215b8ad2f40524c Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 25 Oct 2015 17:40:09 -0400 Subject: Properly handle filenames with non-ASCII characters. #432 --- tests/test_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_files.py') 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") -- cgit v1.2.1