This commit is contained in:
Benjamin Peterson 2009-04-04 00:46:15 +00:00
parent 4376dbc5f6
commit 3e0c9176fe

View File

@ -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()