From: Benjamin Peterson Date: Fri, 3 Apr 2009 22:23:43 +0000 (+0000) Subject: os.path.listdir -> os.listdir X-Git-Tag: v3.1a2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d55a9e8dd8278ad503899c30da8cc7606b30bc7;p=python os.path.listdir -> os.listdir --- diff --git a/Lib/importlib/test/util.py b/Lib/importlib/test/util.py index 0fe31a1e20..aa5aab28a5 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: