diff --git a/tests/test-propertycache.py b/tests/test-propertycache.py --- a/tests/test-propertycache.py +++ b/tests/test-propertycache.py @@ -42,7 +42,7 @@ mercurial.localrepo.localrepository.test # create an empty repo. and instanciate it. It is important to run # those test on the real object to detect regression. repopath = os.path.join(os.environ['TESTTMP'], 'repo') -subprocess.check_call(['hg', 'init', repopath]) +assert subprocess.call(['hg', 'init', repopath]) == 0 ui = uimod.ui() repo = mercurial.hg.repository(ui, path=repopath).unfiltered()