Skip to content

Commit eeff44c

Browse files
committed
fix lint
1 parent e00d184 commit eeff44c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_client/tests/test_server_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ def test_block_on_unknown_semaphore():
8282
with throttle_client(b"[semaphores]\nA=1") as client:
8383
# Only take first, so second one blocks
8484
_ = client.acquire("A")
85-
l = client.acquire("A")
85+
lock_a = client.acquire("A")
8686
# Restart Server without "A"
8787
with throttle_client(b"[semaphores]") as client:
8888
with pytest.raises(Exception, match="Unknown semaphore"):
89-
client.block_until_acquired(l, block_for=timedelta(seconds=1))
89+
client.block_until_acquired(lock_a, block_for=timedelta(seconds=1))
9090

9191

9292
def test_lease_recovery_after_server_reboot():

0 commit comments

Comments
 (0)