[PATCH 2 of 2] force to test pure on pypy as well

Ronny Pfannschmidt Ronny.Pfannschmidt at gmx.de
Tue Mar 23 09:26:35 CDT 2010


# HG changeset patch
# User Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
# Date 1269354184 -3600
# Node ID 27c858193bac5534de9198066d4f9e62527010a9
# Parent  135322fa86c91581f88ce887166d2c317259419d
force to test pure on pypy as well

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -144,7 +144,7 @@ def parseargs():
     (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:


More information about the Mercurial-devel mailing list