Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
bfaa1a63
Commit
bfaa1a63
authored
May 16, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak timing...can't reproduce locally but pypy on Travis is 'fast' by 0.004s.
parent
e2281125
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
greentest/test__core_stat.py
greentest/test__core_stat.py
+1
-2
No files found.
greentest/test__core_stat.py
View file @
bfaa1a63
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment