changeset 10766:afbcea270bb8

run-tests: force to test pure on pypy as well
author Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
date Tue, 23 Mar 2010 15:23:04 +0100
parents fd31a3237498
children 63c6c2d1123c
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: