Show More
@@ -460,7 +460,10 b' def has_py3k():' | |||||
460 |
|
460 | |||
461 | @check("pure", "running with pure Python code") |
|
461 | @check("pure", "running with pure Python code") | |
462 | def has_pure(): |
|
462 | def has_pure(): | |
463 | return os.environ.get("HGTEST_RUN_TESTS_PURE") == "--pure" |
|
463 | return any([ | |
|
464 | os.environ.get("HGMODULEPOLICY") == "py", | |||
|
465 | os.environ.get("HGTEST_RUN_TESTS_PURE") == "--pure", | |||
|
466 | ]) | |||
464 |
|
467 | |||
465 | @check("slow", "allow slow tests") |
|
468 | @check("slow", "allow slow tests") | |
466 | def has_slow(): |
|
469 | def has_slow(): |
General Comments 0
You need to be logged in to leave comments.
Login now