Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 186370b commit da201faCopy full SHA for da201fa
1 file changed
Lib/test/test_logging.py
@@ -1441,9 +1441,12 @@ def test_output(self):
1441
self.assertEqual(self.log_output, "spam\neggs\n")
1442
1443
def test_noserver(self):
1444
+ # Avoid timing-related failures due to SocketHandler's own hard-wired
1445
+ # one-second timeout on socket.create_connection() (issue #16264).
1446
+ self.sock_hdlr.retryStart = 2.5
1447
# Kill the server
1448
self.server.stop(2.0)
- #The logging call should try to connect, which should fail
1449
+ # The logging call should try to connect, which should fail
1450
try:
1451
raise RuntimeError('Deliberate mistake')
1452
except RuntimeError:
0 commit comments