equal
deleted
inserted
replaced
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): |