From: Victor Stinner Date: Fri, 25 Mar 2016 21:51:17 +0000 (+0100) Subject: Fix test_os.test_symlink(): remove create symlink X-Git-Tag: v3.6.0a1~324 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e984eb501b0b2a95d14b1d160c04eda5a88d19c5;p=thirdparty%2FPython%2Fcpython.git Fix test_os.test_symlink(): remove create symlink --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index f7d64b783894..11178753ad21 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)