diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-11 00:36:28 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-11 00:36:28 +0200 |
commit | 530712625bac0cb8b507746406163b66f2d36c49 (patch) | |
tree | bb239f54caca4a082e47a83cb73e408a9eb3e6ca /Lib/test/test_compileall.py | |
parent | 1eb4f28c6db5dd6362341a5f4defc09ef0e7942d (diff) | |
download | cpython-git-530712625bac0cb8b507746406163b66f2d36c49.tar.gz |
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 c1dfdb376f..d1c9ee58bd 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(): |