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
b6bc1bf6
Commit
b6bc1bf6
authored
Apr 17, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanups
parent
586f9ac1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
gevent/_semaphore.py
gevent/_semaphore.py
+1
-1
greentest/2.7pypy/test_subprocess.py
greentest/2.7pypy/test_subprocess.py
+1
-1
greentest/test___example_servers.py
greentest/test___example_servers.py
+3
-3
No files found.
gevent/_semaphore.py
View file @
b6bc1bf6
import
sys
from
gevent.hub
import
get_hub
,
getcurrent
,
PYPY
from
gevent.hub
import
get_hub
,
getcurrent
from
gevent.timeout
import
Timeout
...
...
greentest/2.7pypy/test_subprocess.py
View file @
b6bc1bf6
...
...
@@ -195,7 +195,7 @@ class ProcessTestCase(BaseTestCase):
self
.
assertEqual
(
p
.
returncode
,
47
)
@
unittest
.
skipIf
(
sysconfig
.
is_python_build
()
or
PYPY
,
"need an installed Python. See #7774. Also fails to get sys.prefix on PyPy"
)
"need an installed Python. See #7774. Also fails to get sys.prefix on
stock
PyPy"
)
def
test_executable_without_cwd
(
self
):
# For a normal installation, it should work without 'cwd'
# argument. For test runs in the build directory, see #7774.
...
...
greentest/test___example_servers.py
View file @
b6bc1bf6
...
...
@@ -26,8 +26,8 @@ class Test_wsgiserver(util.TestServer):
except
urllib2
.
HTTPError
:
response
=
sys
.
exc_info
()[
1
]
result
=
'%s %s'
%
(
response
.
code
,
response
.
msg
),
response
.
read
()
# XXX: It looks like under PyPy this isn't directly closing the socket
# when SSL is in use. It takes a GC cycle to make that true.
# XXX: It looks like under PyPy this isn't directly closing the socket
# when SSL is in use. It takes a GC cycle to make that true.
response
.
close
()
return
result
...
...
@@ -48,7 +48,7 @@ class Test_wsgiserver_ssl(Test_wsgiserver):
if
hasattr
(
ssl
,
'_create_unverified_context'
):
# Disable verification for our self-signed cert
# on Python >= 2.7.9 and 3.4
# on Python >= 2.7.9 and 3.4
ssl_ctx
=
ssl
.
_create_unverified_context
()
...
...
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