diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-03 22:23:43 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-03 22:23:43 (GMT) |
commit | 8d55a9e8dd8278ad503899c30da8cc7606b30bc7 (patch) | |
tree | 655e4fa1fb2f274145e71b22f7894adf63e8dc00 /Lib/importlib/test/util.py | |
parent | 8f76b495ece80488f95434bdc3d73cc81f55ff5b (diff) | |
download | cpython-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.py | 2 |
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: |