Commit b3bb436b authored by Berker Peksag's avatar Berker Peksag

Issue #27493: Fix test_path_objects under Windows

parent bd8b4437
...@@ -596,8 +596,8 @@ class HandlerTest(BaseTest): ...@@ -596,8 +596,8 @@ class HandlerTest(BaseTest):
for cls, args in cases: for cls, args in cases:
h = cls(*args) h = cls(*args)
self.assertTrue(os.path.exists(fn)) self.assertTrue(os.path.exists(fn))
os.unlink(fn)
h.close() h.close()
os.unlink(fn)
@unittest.skipIf(os.name == 'nt', 'WatchedFileHandler not appropriate for Windows.') @unittest.skipIf(os.name == 'nt', 'WatchedFileHandler not appropriate for Windows.')
@unittest.skipUnless(threading, 'Threading required for this test.') @unittest.skipUnless(threading, 'Threading required for this test.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment