tests/hghave.py
changeset 26109 bad09bd22b6a
parent 26068 05e7f57c74ac
child 26110 2dcfb98c5314
equal deleted inserted replaced
26108:05306b9359d3 26109:bad09bd22b6a
   425     return 3 == sys.version_info[0]
   425     return 3 == sys.version_info[0]
   426 
   426 
   427 @check("pure", "running with pure Python code")
   427 @check("pure", "running with pure Python code")
   428 def has_pure():
   428 def has_pure():
   429     return os.environ.get("HGTEST_RUN_TESTS_PURE") == "--pure"
   429     return os.environ.get("HGTEST_RUN_TESTS_PURE") == "--pure"
       
   430 
       
   431 @check("slow", "allow slow tests")
       
   432 def has_slow():
       
   433     return os.environ.get('HGTEST_SLOW') == 'slow'