summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/util.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-04-03 22:23:43 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-04-03 22:23:43 (GMT)
commit8d55a9e8dd8278ad503899c30da8cc7606b30bc7 (patch)
tree655e4fa1fb2f274145e71b22f7894adf63e8dc00 /Lib/importlib/test/util.py
parent8f76b495ece80488f95434bdc3d73cc81f55ff5b (diff)
downloadcpython-8d55a9e8dd8278ad503899c30da8cc7606b30bc7.zip
cpython-8d55a9e8dd8278ad503899c30da8cc7606b30bc7.tar.gz
cpython-8d55a9e8dd8278ad503899c30da8cc7606b30bc7.tar.bz2
os.path.listdir -> os.listdir
Diffstat (limited to 'Lib/importlib/test/util.py')
-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 0fe31a1..aa5aab2 100644
--- a/Lib/importlib/test/util.py
+++ b/Lib/importlib/test/util.py
@@ -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: