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
41bf3e23
Commit
41bf3e23
authored
Jun 30, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint [skip ci]
parent
b5672607
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
gevent/resolver_thread.py
gevent/resolver_thread.py
+1
-1
greentest/test__pool.py
greentest/test__pool.py
+1
-0
No files found.
gevent/resolver_thread.py
View file @
41bf3e23
...
@@ -32,7 +32,7 @@ class Resolver(object):
...
@@ -32,7 +32,7 @@ class Resolver(object):
return
self
.
pool
.
apply
(
_socket
.
gethostbyname
,
args
)
return
self
.
pool
.
apply
(
_socket
.
gethostbyname
,
args
)
def
gethostbyname_ex
(
self
,
*
args
):
def
gethostbyname_ex
(
self
,
*
args
):
return
self
.
pool
.
apply
(
_socket
.
gethostbyname_ex
,
args
)
return
self
.
pool
.
apply
(
_socket
.
gethostbyname_ex
,
args
)
def
getaddrinfo
(
self
,
*
args
,
**
kwargs
):
def
getaddrinfo
(
self
,
*
args
,
**
kwargs
):
return
self
.
pool
.
apply
(
_socket
.
getaddrinfo
,
args
,
kwargs
)
return
self
.
pool
.
apply
(
_socket
.
getaddrinfo
,
args
,
kwargs
)
...
...
greentest/test__pool.py
View file @
41bf3e23
...
@@ -36,6 +36,7 @@ class TestCoroutinePool(unittest.TestCase):
...
@@ -36,6 +36,7 @@ class TestCoroutinePool(unittest.TestCase):
def
test_apply_raises
(
self
):
def
test_apply_raises
(
self
):
pool
=
self
.
klass
(
1
)
pool
=
self
.
klass
(
1
)
def
raiser
():
def
raiser
():
raise
ExpectedException
()
raise
ExpectedException
()
try
:
try
:
...
...
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