merge with crew
authorMatt Mackall <mpm@selenic.com>
Fri, 29 Jul 2011 17:27:14 -0500
changeset 14983 6312171468f7
parent 14979 a5046880eca3 (current diff)
parent 14982 4c01478991a3 (diff)
child 14984 cc2c22511707
merge with crew
--- a/tests/test-filecache.py	Thu Jul 28 14:20:06 2011 -0500
+++ b/tests/test-filecache.py	Fri Jul 29 17:27:14 2011 -0500
@@ -1,8 +1,6 @@
 import sys, os, subprocess
 
-try:
-    subprocess.check_call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable'])
-except subprocess.CalledProcessError:
+if subprocess.call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable']):
     sys.exit(80)
 
 from mercurial import util, scmutil, extensions