Author: Ben Mather <bwhmat...@bwhmather.com>
Branch: py3.3
Changeset: r73646:789fe7d6428a
Date: 2014-09-22 13:51 +0100
http://bitbucket.org/pypy/pypy/changeset/789fe7d6428a/

Log:    add faulthandler to list of required modules for all lib-python 3
        tests

        faulthandler is imported by lib-python/3/tests/regrtest.py which is
        imported before running any tests. faulthandler is new to 3.3.

        fixes all tests crashing with import error when running with
        interpreted interpreter (compiled with compiled interpreter)

diff --git a/lib-python/conftest.py b/lib-python/conftest.py
--- a/lib-python/conftest.py
+++ b/lib-python/conftest.py
@@ -60,7 +60,8 @@
                  skip=None):
         self.basename = basename
         self._usemodules = usemodules.split() + [
-            '_socket', 'binascii', 'rctime', 'select', 'signal']
+            '_socket', 'binascii', 'rctime',
+            'select', 'signal', 'faulthandler']
         if not sys.platform == 'win32':
             self._usemodules.extend(['_posixsubprocess', 'fcntl'])
         self._compiler = compiler
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to