diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 22:36:28 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 22:36:28 (GMT) |
commit | 530712625bac0cb8b507746406163b66f2d36c49 (patch) | |
tree | bb239f54caca4a082e47a83cb73e408a9eb3e6ca /Lib/test/test_compileall.py | |
parent | 1eb4f28c6db5dd6362341a5f4defc09ef0e7942d (diff) | |
download | cpython-530712625bac0cb8b507746406163b66f2d36c49.zip cpython-530712625bac0cb8b507746406163b66f2d36c49.tar.gz cpython-530712625bac0cb8b507746406163b66f2d36c49.tar.bz2 |
Issue #11169: compileall module uses repr() to format filenames and paths to
escape surrogate characters and show spaces.
Diffstat (limited to 'Lib/test/test_compileall.py')
-rw-r--r-- | Lib/test/test_compileall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index c1dfdb3..d1c9ee5 100644 --- a/Lib/test/test_compileall.py +++ b/Lib/test/test_compileall.py @@ -345,7 +345,7 @@ class CommandLineTests(unittest.TestCase): def test_invalid_arg_produces_message(self): out = self.assertRunOK('badfilename') - self.assertRegex(out, b"Can't list badfilename") + self.assertRegex(out, b"Can't list 'badfilename'") def test_main(): |