tests/test-remotefilelog-histpack.py
changeset 43995 37458d8b0c1e
parent 43076 2372284d9457
child 45849 c102b704edb5
equal deleted inserted replaced
43994:de358da72eb1 43995:37458d8b0c1e
   250         os.chmod(path, os.stat(path).st_mode | stat.S_IWRITE)
   250         os.chmod(path, os.stat(path).st_mode | stat.S_IWRITE)
   251         with open(path, 'wb+') as f:
   251         with open(path, 'wb+') as f:
   252             f.write(raw)
   252             f.write(raw)
   253 
   253 
   254         try:
   254         try:
   255             pack = historypack.historypack(pack.path)
   255             historypack.historypack(pack.path)
   256             self.assertTrue(False, "bad version number should have thrown")
   256             self.assertTrue(False, "bad version number should have thrown")
   257         except RuntimeError:
   257         except RuntimeError:
   258             pass
   258             pass
   259 
   259 
   260     def testLargePack(self):
   260     def testLargePack(self):