Skip to content

Commit 9843ed1

Browse files
committed
Remove unused 'mock' variable
This was causing a lint error: ./pymemcache/test/test_ext_aws_ec_client.py:41:10: F841 local variable 'mock' is assigned to but never used
1 parent 582604c commit 9843ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymemcache/test/test_ext_aws_ec_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_init_valid_node_endpoint(connection_sting, monkeypatch):
3838
def test_init_invalid_node_endpoint(connection_sting, monkeypatch):
3939
with patch.object(
4040
AWSElastiCacheHashClient, "reconfigure_nodes", new=MagicMock()
41-
) as mock:
41+
):
4242
with pytest.raises(ValueError):
4343
AWSElastiCacheHashClient(connection_sting, socket_module=MockSocketModule())
4444

0 commit comments

Comments
 (0)