[Python-checkins] cpython: Fix test_os.test_symlink(): remove create symlink
victor.stinner
python-checkins at python.org
Fri Mar 25 17:51:22 EDT 2016
https://hg.python.org/cpython/rev/c94837c6d66f
changeset: 100754:c94837c6d66f
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Mar 25 22:51:17 2016 +0100
summary:
Fix test_os.test_symlink(): remove create symlink
files:
Lib/test/test_os.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -2554,6 +2554,8 @@
@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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list