##// END OF EJS Templates
tests: fix test-parseindex2.py when run with --pure
Bryan O'Sullivan -
r16620:e22d6b1d stable
parent child Browse files
Show More
@@ -114,8 +114,12 b' def runtest() :'
114 114 for i, r in enumerate(ix):
115 115 if r[7] == nullid:
116 116 i = -1
117 if ix[r[7]] != i:
118 print 'Reverse lookup inconsistent for %r' % r[7].encode('hex')
117 try:
118 if ix[r[7]] != i:
119 print 'Reverse lookup inconsistent for %r' % r[7].encode('hex')
120 except TypeError:
121 # pure version doesn't support this
122 break
119 123
120 124 print "done"
121 125
General Comments 0
You need to be logged in to leave comments. Login now