We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454a0f6 commit 06500d4Copy full SHA for 06500d4
1 file changed
distributed/tests/test_profile.py
@@ -221,11 +221,11 @@ def stop_profiling():
221
stop_profiling_called.set()
222
return time() > start + 0.500
223
224
- release_lock_ev = threading.Event()
+ release_lock = threading.Event()
225
226
def block_lock():
227
with lock:
228
- release_lock_ev.wait()
+ release_lock.wait()
229
230
start_threads = threading.active_count()
231
@@ -243,7 +243,7 @@ def block_lock():
243
244
sleep(0.5)
245
assert len(log) == 0
246
- release_lock_ev.set()
+ release_lock.set()
247
248
profiling_thread.join(2)
249
blocking_thread.join(2)
0 commit comments