diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_logging.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 0f1d2745ddd..ee00a32026f 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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) |