branch | stable |
changeset 37814 | 265c122b69aa |
parent 37810 | 856f381ad74b |
child 37914 | 39c17718f311 |
--- a/tests/test-check-interfaces.py Mon Apr 23 19:23:18 2018 +0100 +++ b/tests/test-check-interfaces.py Tue Apr 24 08:20:15 2018 -0700 @@ -6,6 +6,13 @@ encoding.environ[b'HGREALINTERFACES'] = b'1' import os +import subprocess +import sys + +# Only run if tests are run in a repo +if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], + 'test-repo']): + sys.exit(80) from mercurial.thirdparty.zope import ( interface as zi,