[Python-checkins] cpython: Issue #27493: Fix test_path_objects under Windows
berker.peksag
python-checkins at python.org
Sat Jul 23 00:15:15 EDT 2016
https://hg.python.org/cpython/rev/5424252ce174
changeset: 102424:5424252ce174
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Jul 23 07:15:12 2016 +0300
summary:
Issue #27493: Fix test_path_objects under Windows
files:
Lib/test/test_logging.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -596,8 +596,8 @@
for cls, args in cases:
h = cls(*args)
self.assertTrue(os.path.exists(fn))
+ h.close()
os.unlink(fn)
- h.close()
@unittest.skipIf(os.name == 'nt', 'WatchedFileHandler not appropriate for Windows.')
@unittest.skipUnless(threading, 'Threading required for this test.')
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list