summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-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 8d1bb59..73ad95e 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -248,8 +248,8 @@ class PosixTester(unittest.TestCase):
_create_and_do_getcwd(dirname)
finally:
- support.rmtree(base_path)
os.chdir(curdir)
+ support.rmtree(base_path)
def test_main():