Commit 8d55a9e8 authored by Benjamin Peterson's avatar Benjamin Peterson

os.path.listdir -> os.listdir

parent 8f76b495
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment