diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-08-27 18:26:35 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-08-27 18:26:35 (GMT) |
commit | d0f5bab21b9828f4764bd45e4afe24f23c1a55b0 (patch) | |
tree | aee674e15c5f078dee9087a3bc2f9529ecfd19e1 /Lib/test | |
parent | 3ce2fd484bd2cccb546bf05ff6057ffaa75b1e29 (diff) | |
download | cpython-d0f5bab21b9828f4764bd45e4afe24f23c1a55b0.zip cpython-d0f5bab21b9828f4764bd45e4afe24f23c1a55b0.tar.gz cpython-d0f5bab21b9828f4764bd45e4afe24f23c1a55b0.tar.bz2 |
Issue #26027: Fix test_path_t_converter on Windows
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_os.py | 2 |
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) |