diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-23 15:59:21 +0000 |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-23 15:59:21 +0000 |
commit | fa647ec409f586cbc313e9489e9c3c48e31c7f7d (patch) | |
tree | 3ab4dbeace389ce0d0dfd227a3cd13f9af577e06 | |
parent | e49aefcc5139c3effce4f7718c57b4be9d0b5b5b (diff) | |
download | cpython-git-fa647ec409f586cbc313e9489e9c3c48e31c7f7d.tar.gz |
Issue #9287: Minor fix in test_file2k.OtherFileTests.testOpenDir
-rw-r--r-- | Lib/test/test_file2k.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_file2k.py b/Lib/test/test_file2k.py index ebfd9e77a3..fc8bfe9c5d 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: |