mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #11169: compileall module uses repr() to format filenames and paths to
escape surrogate characters and show spaces.
This commit is contained in:
parent
1eb4f28c6d
commit
530712625b
3 changed files with 9 additions and 6 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue