tests/test-check-interfaces.py
changeset 46176 300f6e23882a
parent 44664 8c66a680f396
child 46660 0738bc25d6ac
equal deleted inserted replaced
46175:a04c03b0678e 46176:300f6e23882a
    10 import subprocess
    10 import subprocess
    11 import sys
    11 import sys
    12 
    12 
    13 # Only run if tests are run in a repo
    13 # Only run if tests are run in a repo
    14 if subprocess.call(
    14 if subprocess.call(
    15     ['python', '%s/hghave' % os.environ['TESTDIR'], 'test-repo']
    15     [sys.executable, '%s/hghave' % os.environ['TESTDIR'], 'test-repo']
    16 ):
    16 ):
    17     sys.exit(80)
    17     sys.exit(80)
    18 
    18 
    19 from mercurial.interfaces import (
    19 from mercurial.interfaces import (
    20     dirstate as intdirstate,
    20     dirstate as intdirstate,