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 f3f3aa0 commit e928c03Copy full SHA for e928c03
tests/integration/standard/test_cluster.py
@@ -150,7 +150,8 @@ def test_raise_error_on_control_connection_timeout(self):
150
get_node(1).pause()
151
cluster = TestCluster(contact_points=['127.0.0.1'], connect_timeout=1)
152
153
- with self.assertRaisesRegexp(NoHostAvailable, "OperationTimedOut\('errors=Timed out creating connection \(1 seconds\)"):
+ with self.assertRaisesRegexp(NoHostAvailable,
154
+ r"OperationTimedOut\('errors=Timed out creating connection \(1 seconds\)"):
155
cluster.connect()
156
cluster.shutdown()
157
0 commit comments