summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_posix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index 5f40060..0929485 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -267,8 +267,8 @@ class PosixTester(unittest.TestCase):
_create_and_do_getcwd(dirname)
finally:
- shutil.rmtree(base_path)
os.chdir(curdir)
+ shutil.rmtree(base_path)
def test_main():