Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r88287:01bd875e7563
Date: 2016-11-10 09:58 +0100
http://bitbucket.org/pypy/pypy/changeset/01bd875e7563/
Log: fix for test
diff --git a/pypy/module/math/app_math.py b/pypy/module/math/app_math.py
--- a/pypy/module/math/app_math.py
+++ b/pypy/module/math/app_math.py
@@ -1,5 +1,8 @@
import sys
-from _operator import index
+try:
+ from _operator import index
+except ImportError:
+ pass # for tests only
def factorial(x):
"""factorial(x) -> Integral
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit