mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
||||
def test_symlink(self):
|
||||
self.addCleanup(support.unlink, support.TESTFN)
|
||||
|
||||
filename = os.fsencode(support.TESTFN)
|
||||
with bytes_filename_warn(True):
|
||||
os.symlink(filename, filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue