Skip to content

Commit 7dbc538

Browse files
committed
[Python] Reduce time before asyncronous run in JupyROOT unit test
Only waiting 0.25 seconds before printing "Asyncronous" should increase the probability to have this string printed by the time the main thread waits one second, which is what the unit test expects.
1 parent 6cb0780 commit 7dbc538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/jupyroot/python/JupyROOT/helpers/handlers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class Runner(object):
101101
>>> r.AsyncRun("ss");time.sleep(1)
102102
ss
103103
>>> def g(msg):
104-
... time.sleep(.5)
104+
... time.sleep(.25)
105105
... print(msg)
106106
>>> r= Runner(g, p)
107107
>>> r.AsyncRun("Asynchronous");print("Synchronous");time.sleep(1)

0 commit comments

Comments
 (0)