diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-25 22:51:17 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-25 22:51:17 +0100 |
commit | e13477d302123afd3a87376cb3cff0b191b701f8 (patch) | |
tree | 1a9b8eb17668a765f20332cb96d53bc8ac9fd757 /Lib/test/test_os.py | |
parent | 59c3dcf71633749ebd5f43459cddd69fe94df6c6 (diff) | |
download | cpython-e13477d302123afd3a87376cb3cff0b191b701f8.tar.gz |
Fix test_os.test_symlink(): remove create symlink
Diffstat (limited to 'Lib/test/test_os.py')
-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 f7d64b7838..11178753ad 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) |