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
7fb55e27
Commit
7fb55e27
authored
Nov 08, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_hub_join -> test__hub_join.py
parent
5171072c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
14 deletions
+26
-14
src/gevent/tests/test__hub_join.py
src/gevent/tests/test__hub_join.py
+23
-0
src/gevent/tests/test_hub_join.py
src/gevent/tests/test_hub_join.py
+0
-13
src/gevent/tests/tests_that_dont_do_leakchecks.txt
src/gevent/tests/tests_that_dont_do_leakchecks.txt
+1
-0
src/gevent/tests/tests_that_dont_monkeypatch.txt
src/gevent/tests/tests_that_dont_monkeypatch.txt
+1
-0
src/gevent/tests/tests_that_dont_use_resolver.txt
src/gevent/tests/tests_that_dont_use_resolver.txt
+1
-1
No files found.
src/gevent/tests/test__hub_join.py
0 → 100644
View file @
7fb55e27
import
unittest
import
gevent
class
Test
(
unittest
.
TestCase
):
def
test
(
self
):
# hub.join() guarantees that loop has exited cleanly
res
=
gevent
.
get_hub
().
join
()
self
.
assertTrue
(
res
)
res
=
gevent
.
get_hub
().
join
()
self
.
assertTrue
(
res
)
# but it is still possible to use gevent afterwards
gevent
.
sleep
(
0.01
)
res
=
gevent
.
get_hub
().
join
()
self
.
assertTrue
(
res
)
if
__name__
==
'__main__'
:
unittest
.
main
()
src/gevent/tests/test_hub_join.py
deleted
100644 → 0
View file @
5171072c
import
gevent
# hub.join() guarantees that loop has exited cleanly
res
=
gevent
.
get_hub
().
join
()
assert
res
is
True
,
res
res
=
gevent
.
get_hub
().
join
()
assert
res
is
True
,
res
# but it is still possible to use gevent afterwards
gevent
.
sleep
(
0.01
)
res
=
gevent
.
get_hub
().
join
()
assert
res
is
True
,
res
src/gevent/tests/tests_that_dont_do_leakchecks.txt
View file @
7fb55e27
...
...
@@ -4,3 +4,4 @@ test___monitor.py
test__monkey_scope.py
test__ares_timeout.py
test__close_backend_fd.py
test__hub_join.py
src/gevent/tests/tests_that_dont_monkeypatch.txt
View file @
7fb55e27
...
...
@@ -22,3 +22,4 @@ test__monkey_scope.py
test__iwait.py
test__ares_timeout.py
test__close_backend_fd.py
test__hub_join.py
src/gevent/tests/tests_that_dont_use_resolver.txt
View file @
7fb55e27
...
...
@@ -30,7 +30,7 @@ test__GreenletExit.py
test__greenlet.py
test__greenletset.py
# uses socket test__greenness.py
test_hub_join.py
test_
_
hub_join.py
test_hub_join_timeout.py
# uses socket test__hub.py
test_issue112.py
...
...
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