Skip to content

Commit 3ef28ef

Browse files
authored
Merge pull request #630 from pinterest/unused-mock
Unblock CI builds due to linter error
2 parents bd43018 + caa14ed commit 3ef28ef

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pymemcache/test/test_ext_aws_ec_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ def test_init_valid_node_endpoint(connection_sting, monkeypatch):
3636
],
3737
)
3838
def test_init_invalid_node_endpoint(connection_sting, monkeypatch):
39-
with patch.object(
40-
AWSElastiCacheHashClient, "reconfigure_nodes", new=MagicMock()
41-
) as mock:
39+
with patch.object(AWSElastiCacheHashClient, "reconfigure_nodes", new=MagicMock()):
4240
with pytest.raises(ValueError):
4341
AWSElastiCacheHashClient(connection_sting, socket_module=MockSocketModule())
4442

0 commit comments

Comments
 (0)