bpo-43651: Fix test_logging (GH-25715)

This commit is contained in:
Inada Naoki 2021-04-29 20:37:32 +09:00 committed by GitHub
parent abfd6388cd
commit 53dd6c99b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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)