Commit bfaa1a63 authored by Jason Madden's avatar Jason Madden

Tweak timing...can't reproduce locally but pypy on Travis is 'fast' by 0.004s.

parent e2281125
......@@ -22,6 +22,7 @@ try:
f.write('x')
f.close()
start = time.time()
greenlet = gevent.spawn_later(DELAY, write)
# If we don't specify an interval, we default to zero.
# libev interprets that as meaning to use its default interval,
......@@ -32,8 +33,6 @@ try:
assert watcher.path == filename
assert watcher.interval == -1
start = time.time()
with gevent.Timeout(5 + DELAY + 0.5):
hub.wait(watcher)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment