Skip to content

Commit

Permalink
Fix test_as_current_is_thread_local (#4402)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham authored Jan 6, 2021
1 parent eeb411e commit 7fb5d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4022,7 +4022,7 @@ def test_as_current_is_thread_local(s):
l4.acquire()

def run1():
with Client(s.address) as c:
with Client(s["address"]) as c:
with c.as_current():
l1.acquire()
l2.release()
Expand All @@ -4035,7 +4035,7 @@ def run1():
l4.release()

def run2():
with Client(s.address) as c:
with Client(s["address"]) as c:
with c.as_current():
l1.release()
l2.acquire()
Expand Down

0 comments on commit 7fb5d4d

Please sign in to comment.