Author: Alex Gaynor <alex.gay...@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([], """(): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit