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 e7437e1 commit aa78be3Copy full SHA for aa78be3
test/test_conn.py
@@ -90,7 +90,7 @@ def test_connection_delay(conn, mocker):
90
conn.state = ConnectionStates.CONNECTED
91
assert conn.connection_delay() == float('inf')
92
93
- conn._gai.clear()
+ del conn._gai[:]
94
conn._update_reconnect_backoff()
95
conn.state = ConnectionStates.DISCONNECTED
96
assert conn.connection_delay() == 1.0 * conn.config['reconnect_backoff_ms']
0 commit comments