There was an error while loading. Please reload this page.
2 parents bd43018 + caa14ed commit 3ef28efCopy full SHA for 3ef28ef
1 file changed
pymemcache/test/test_ext_aws_ec_client.py
@@ -36,9 +36,7 @@ def test_init_valid_node_endpoint(connection_sting, monkeypatch):
36
],
37
)
38
def test_init_invalid_node_endpoint(connection_sting, monkeypatch):
39
- with patch.object(
40
- AWSElastiCacheHashClient, "reconfigure_nodes", new=MagicMock()
41
- ) as mock:
+ with patch.object(AWSElastiCacheHashClient, "reconfigure_nodes", new=MagicMock()):
42
with pytest.raises(ValueError):
43
AWSElastiCacheHashClient(connection_sting, socket_module=MockSocketModule())
44
0 commit comments