Commit b6bc1bf6 authored by Jason Madden's avatar Jason Madden

Minor cleanups

parent 586f9ac1
import sys
from gevent.hub import get_hub, getcurrent, PYPY
from gevent.hub import get_hub, getcurrent
from gevent.timeout import Timeout
......
......@@ -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.
......
......@@ -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()
......
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