mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix test_os.test_symlink(): remove create symlink
This commit is contained in:
parent
16b698b095
commit
e984eb501b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue