Skip to content

Commit 06500d4

Browse files
committed
Naming
1 parent 454a0f6 commit 06500d4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

distributed/tests/test_profile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ def stop_profiling():
221221
stop_profiling_called.set()
222222
return time() > start + 0.500
223223

224-
release_lock_ev = threading.Event()
224+
release_lock = threading.Event()
225225

226226
def block_lock():
227227
with lock:
228-
release_lock_ev.wait()
228+
release_lock.wait()
229229

230230
start_threads = threading.active_count()
231231

@@ -243,7 +243,7 @@ def block_lock():
243243

244244
sleep(0.5)
245245
assert len(log) == 0
246-
release_lock_ev.set()
246+
release_lock.set()
247247

248248
profiling_thread.join(2)
249249
blocking_thread.join(2)

0 commit comments

Comments
 (0)