diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-25 21:51:17 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-25 21:51:17 (GMT) |
commit | e984eb501b0b2a95d14b1d160c04eda5a88d19c5 (patch) | |
tree | fc5d19dce3d56167910d72035f362ef136b54970 /Lib/test | |
parent | 16b698b095bfc6cd37b66a58536fb11a6884b557 (diff) | |
download | cpython-e984eb501b0b2a95d14b1d160c04eda5a88d19c5.zip cpython-e984eb501b0b2a95d14b1d160c04eda5a88d19c5.tar.gz cpython-e984eb501b0b2a95d14b1d160c04eda5a88d19c5.tar.bz2 |
Fix test_os.test_symlink(): remove create symlink
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_os.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index f7d64b7..1117875 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -2554,6 +2554,8 @@ class Win32DeprecatedBytesAPI(unittest.TestCase): @support.skip_unless_symlink def test_symlink(self): + self.addCleanup(support.unlink, support.TESTFN) + filename = os.fsencode(support.TESTFN) with bytes_filename_warn(True): os.symlink(filename, filename) |