mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
os.path.listdir -> os.listdir
This commit is contained in:
parent
8f76b495ec
commit
8d55a9e8dd
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ def case_insensitive_tests(class_):
|
|||
"""Class decorator that nullifies tests that require a case-insensitive
|
||||
file system."""
|
||||
if sys.platform not in ('win32', 'darwin', 'cygwin'):
|
||||
original_name = os.path.listdir('.')[0]
|
||||
original_name = os.listdir('.')[0]
|
||||
if name.upper() != name:
|
||||
changed_name = name.upper()
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue