changeset 14983:6312171468f7

merge with crew
author Matt Mackall <mpm@selenic.com>
date Fri, 29 Jul 2011 17:27:14 -0500
parents a5046880eca3 (current diff) 4c01478991a3 (diff)
children cc2c22511707
files
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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