Author: Wim Lavrijsen <[email protected]>
Branch: cppyy-packaging
Changeset: r92066:7e01e98a0155
Date: 2017-08-03 16:44 -0700
http://bitbucket.org/pypy/pypy/changeset/7e01e98a0155/

Log:    remove capi.identify() as that's the backend's job

diff --git a/pypy/module/_cppyy/capi/loadable_capi.py 
b/pypy/module/_cppyy/capi/loadable_capi.py
--- a/pypy/module/_cppyy/capi/loadable_capi.py
+++ b/pypy/module/_cppyy/capi/loadable_capi.py
@@ -17,9 +17,6 @@
 
 reflection_library = 'libcppyy_backend.so'
 
-def identify():
-    return 'loadable_capi'
-
 # this is not technically correct, but will do for now
 std_string_name = 'std::basic_string<char>'
 
diff --git a/pypy/module/_cppyy/test/test_zjit.py 
b/pypy/module/_cppyy/test/test_zjit.py
--- a/pypy/module/_cppyy/test/test_zjit.py
+++ b/pypy/module/_cppyy/test/test_zjit.py
@@ -9,9 +9,7 @@
 from pypy.interpreter.baseobjspace import InternalSpaceCache, W_Root
 
 from pypy.module._cppyy import interp_cppyy, capi, executor
-# These tests are for the backend that support the fast path only.
-#if capi.identify() == 'loadable_capi':
-#    py.test.skip("can not currently use FakeSpace with _cffi_backend")
+
 if os.getenv("CPPYY_DISABLE_FASTPATH"):
     py.test.skip("fast path is disabled by CPPYY_DISABLE_FASTPATH envar")
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to