run-tests: force to test pure on pypy as well
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
Tue, 23 Mar 2010 15:23:04 +0100
changeset 10766 afbcea270bb8
parent 10765 fd31a3237498
child 10767 63c6c2d1123c
run-tests: force to test pure on pypy as well
tests/run-tests.py
--- a/tests/run-tests.py	Tue Mar 23 15:22:17 2010 +0100
+++ b/tests/run-tests.py	Tue Mar 23 15:23:04 2010 +0100
@@ -144,7 +144,7 @@
     (options, args) = parser.parse_args()
 
     # jython is always pure
-    if 'java' in sys.platform:
+    if 'java' in sys.platform or '__pypy__' in sys.modules:
         options.pure = True
 
     if options.with_hg: