Commit 88db24be authored by Victor Stinner's avatar Victor Stinner

Fix test_os.test_symlink(): remove create symlink

parent 2102aad7
...@@ -2554,6 +2554,8 @@ class Win32DeprecatedBytesAPI(unittest.TestCase): ...@@ -2554,6 +2554,8 @@ class Win32DeprecatedBytesAPI(unittest.TestCase):
@support.skip_unless_symlink @support.skip_unless_symlink
def test_symlink(self): def test_symlink(self):
self.addCleanup(support.unlink, support.TESTFN)
filename = os.fsencode(support.TESTFN) filename = os.fsencode(support.TESTFN)
with bytes_filename_warn(True): with bytes_filename_warn(True):
os.symlink(filename, filename) os.symlink(filename, filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment