Fix test_os.test_symlink(): remove create symlink
This commit is contained in:
parent
16b698b095
commit
e984eb501b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue