mirror of https://github.com/python/cpython
bpo-43651: Fix test_logging (GH-25715)
This commit is contained in:
parent
abfd6388cd
commit
53dd6c99b3
|
@ -1582,8 +1582,7 @@ class ConfigFileTest(BaseTest):
|
|||
h1.close()
|
||||
os.remove(fn)
|
||||
|
||||
#with self.check_no_resource_warning():
|
||||
if 1:
|
||||
with self.check_no_resource_warning():
|
||||
fd, fn = tempfile.mkstemp(".log", "test_logging-X-")
|
||||
os.close(fd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue