8000 bpo-43651: Fix test_logging (GH-25715) · python/cpython@53dd6c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53dd6c9

Browse files
authored
bpo-43651: Fix test_logging (GH-25715)
1 parent abfd638 commit 53dd6c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_logging.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,8 +1582,7 @@ def cleanup(h1, fn):
15821582
h1.close()
15831583
os.remove(fn)
15841584

1585-
#with self.check_no_resource_warning():
1586-
if 1:
1585+
with self.check_no_resource_warning():
15871586
fd, fn = tempfile.mkstemp(".log", "test_logging-X-")
15881587
os.close(fd)
15891588

0 commit comments

Comments
 (0)
0