Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r77860:a96f6fcb20fd
Date: 2015-06-04 14:21 +0200
http://bitbucket.org/pypy/pypy/changeset/a96f6fcb20fd/
Log: Add the struct module to more tests' spaceconfig (the pure Python
version was removed on this branch).
diff --git a/pypy/module/_posixsubprocess/test/test_subprocess.py
b/pypy/module/_posixsubprocess/test/test_subprocess.py
--- a/pypy/module/_posixsubprocess/test/test_subprocess.py
+++ b/pypy/module/_posixsubprocess/test/test_subprocess.py
@@ -1,7 +1,7 @@
from os.path import dirname
class AppTestSubprocess:
- spaceconfig = dict(usemodules=('_posixsubprocess', 'signal', 'fcntl',
'select'))
+ spaceconfig = dict(usemodules=('_posixsubprocess', 'signal', 'fcntl',
'select', 'struct'))
# XXX write more tests
def setup_class(cls):
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
@@ -2,7 +2,7 @@
import os
class AppTestSSL:
- spaceconfig = dict(usemodules=('_ssl', '_socket', 'binascii', 'thread'))
+ spaceconfig = dict(usemodules=('_ssl', '_socket', 'struct', 'binascii',
'thread'))
def setup_class(cls):
cls.w_nullbytecert = cls.space.wrap(os.path.join(
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit