From fa647ec409f586cbc313e9489e9c3c48e31c7f7d Mon Sep 17 00:00:00 2001 From: Hirokazu Yamamoto Date: Thu, 23 Sep 2010 15:59:21 +0000 Subject: [PATCH] Issue #9287: Minor fix in test_file2k.OtherFileTests.testOpenDir --- Lib/test/test_file2k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_file2k.py b/Lib/test/test_file2k.py index ebfd9e77a3a..fc8bfe9c5d7 100644 --- a/Lib/test/test_file2k.py +++ b/Lib/test/test_file2k.py @@ -172,7 +172,7 @@ class AutoFileTests(unittest.TestCase): class OtherFileTests(unittest.TestCase): def testOpenDir(self): - this_dir = os.path.dirname(__file__) + this_dir = os.path.dirname(__file__) or os.curdir for mode in (None, "w"): try: if mode: