mirror of
https://github.com/python/cpython.git
synced 2024-11-25 10:54:51 +08:00
fix name
This commit is contained in:
parent
4376dbc5f6
commit
3e0c9176fe
@ -11,7 +11,7 @@ def case_insensitive_tests(class_):
|
||||
file system."""
|
||||
if sys.platform not in ('win32', 'darwin', 'cygwin'):
|
||||
original_name = os.listdir('.')[0]
|
||||
if name.upper() != original_name:
|
||||
if orignal_name.upper() != original_name:
|
||||
changed_name = original_name.upper()
|
||||
else:
|
||||
changed_name = original_name.lower()
|
||||
|
Loading…
Reference in New Issue
Block a user