diff options
-rw-r--r-- | src/zope/tal/pypy/test/check.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/zope/tal/pypy/test/check.py b/src/zope/tal/pypy/test/check.py index daca4c3..48b1668 100644 --- a/src/zope/tal/pypy/test/check.py +++ b/src/zope/tal/pypy/test/check.py @@ -1,4 +1,11 @@ -import test +import sys + +if len(sys.argv) == 2 and sys.argv[1] == 'so': + print 'so extension' + import test +else: + from pypy.interpreter.mixedmodule import testmodule + test = testmodule('test', 'zope.tal.pypy') ip = test.Interpreter(None, 20) assert ip.power2() == 400 |