Author: Armin Rigo <[email protected]>
Branch: py3k
Changeset: r86437:990c0523d383
Date: 2016-08-23 09:59 +0200
http://bitbucket.org/pypy/pypy/changeset/990c0523d383/
Log: Reduce the diff, don't import cpyext in this _cffi_backend test
diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py
b/pypy/module/_cffi_backend/test/test_recompiler.py
--- a/pypy/module/_cffi_backend/test/test_recompiler.py
+++ b/pypy/module/_cffi_backend/test/test_recompiler.py
@@ -79,7 +79,7 @@
class AppTestRecompiler:
- spaceconfig = dict(usemodules=['_cffi_backend', 'imp', 'cpyext', 'struct'])
+ spaceconfig = dict(usemodules=['_cffi_backend', 'imp'])
def setup_class(cls):
if cls.runappdirect:
diff --git a/pypy/module/imp/interp_imp.py b/pypy/module/imp/interp_imp.py
--- a/pypy/module/imp/interp_imp.py
+++ b/pypy/module/imp/interp_imp.py
@@ -55,9 +55,6 @@
if not importing.has_so_extension(space):
raise oefmt(space.w_ImportError, "Not implemented")
- # the next line is mandatory to init cpyext
- space.getbuiltinmodule("cpyext")
-
from pypy.module.cpyext.api import load_extension_module
load_extension_module(space, filename, space.str_w(w_modulename))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit