summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index dfffed2..c1e1adc 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -2847,8 +2847,8 @@ class PathTConverterTests(unittest.TestCase):
bytes_filename = support.TESTFN.encode('ascii')
bytes_fspath = PathLike(bytes_filename)
fd = os.open(PathLike(str_filename), os.O_WRONLY|os.O_CREAT)
- self.addCleanup(os.close, fd)
self.addCleanup(support.unlink, support.TESTFN)
+ self.addCleanup(os.close, fd)
int_fspath = PathLike(fd)
str_fspath = PathLike(str_filename)