Commit fa647ec4 authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Issue #9287: Minor fix in test_file2k.OtherFileTests.testOpenDir

parent e49aefcc
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment