diff options
-rw-r--r-- | Lib/test/test_logging.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 511d3c4..092bd41 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1577,6 +1577,7 @@ class ConfigDictTest(BaseTest): port = find_unused_port() t = logging.config.listen(port) t.start() + time.sleep(0.5) # give server thread some time to get ready try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(2.0) @@ -1615,7 +1616,7 @@ class ConfigDictTest(BaseTest): ('ERROR', '4'), ], stream=output) - @unittest.skip("See issue #7857") + #@unittest.skip("See issue #7857") def test_listen_config_1_ok(self): with captured_stdout() as output: self.setup_via_listener(textwrap.dedent(ConfigFileTest.config1)) |