[pypy-commit] pypy kill-faking: fix _ssl tests
alex_gaynor
noreply at buildbot.pypy.org
Sun Dec 2 23:52:04 CET 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: kill-faking
Changeset: r59249:ed63256b3053
Date: 2012-12-02 14:31 -0800
http://bitbucket.org/pypy/pypy/changeset/ed63256b3053/
Log: fix _ssl tests
diff --git a/pypy/module/_ssl/test/test_ssl.py b/pypy/module/_ssl/test/test_ssl.py
--- a/pypy/module/_ssl/test/test_ssl.py
+++ b/pypy/module/_ssl/test/test_ssl.py
@@ -82,7 +82,9 @@
class AppTestConnectedSSL:
- spaceconfig = dict(usemodules=('_ssl', '_socket', 'struct'))
+ spaceconfig = {
+ "usemodules": ['_ssl', '_socket', 'struct', 'binascii'],
+ }
def setup_method(self, method):
# https://www.verisign.net/
@@ -165,10 +167,13 @@
raises(ssl.SSLError, ss.write, "hello\n")
del ss; gc.collect()
+
class AppTestConnectedSSL_Timeout(AppTestConnectedSSL):
# Same tests, with a socket timeout
# to exercise the poll() calls
- spaceconfig = dict(usemodules=('_ssl', '_socket', 'struct'))
+ spaceconfig = {
+ "usemodules": ['_ssl', '_socket', 'struct', 'binascii'],
+ }
def setup_class(cls):
cls.space.appexec([], """():
More information about the pypy-commit
mailing list