From 8d55a9e8dd8278ad503899c30da8cc7606b30bc7 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 3 Apr 2009 22:23:43 +0000 Subject: [PATCH] os.path.listdir -> os.listdir --- Lib/importlib/test/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.40.0