summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/importlib/test/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/util.py b/Lib/importlib/test/util.py
index d6804fb..3a92684 100644
--- a/Lib/importlib/test/util.py
+++ b/Lib/importlib/test/util.py
@@ -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()