mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue14255 Don't flatten case of tempdir
This commit is contained in:
parent
8fea252a50
commit
6d09f09d8b
3 changed files with 19 additions and 3 deletions
|
@ -227,13 +227,15 @@ class ZipSupportTests(unittest.TestCase):
|
|||
p = spawn_python(script_name)
|
||||
p.stdin.write(b'l\n')
|
||||
data = kill_python(p)
|
||||
self.assertIn(script_name.encode('utf-8'), data)
|
||||
# bdb/pdb applies normcase to its filename before displaying
|
||||
self.assertIn(os.path.normcase(script_name.encode('utf-8')), data)
|
||||
zip_name, run_name = make_zip_script(d, "test_zip",
|
||||
script_name, '__main__.py')
|
||||
p = spawn_python(zip_name)
|
||||
p.stdin.write(b'l\n')
|
||||
data = kill_python(p)
|
||||
self.assertIn(run_name.encode('utf-8'), data)
|
||||
# bdb/pdb applies normcase to its filename before displaying
|
||||
self.assertIn(os.path.normcase(run_name.encode('utf-8')), data)
|
||||
|
||||
|
||||
def test_main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue