Fix test_os.test_symlink(): remove create symlink

This commit is contained in:
Victor Stinner 2016-03-25 22:51:17 +01:00
parent 16b698b095
commit e984eb501b
1 changed files with 2 additions and 0 deletions

View File

@ -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)