Commit 267d55ab authored by Jim Fulton's avatar Jim Fulton

Use self.assertEqual rather than an assert.

parent 49cebd1e
...@@ -321,7 +321,7 @@ class PackableStorage(PackableStorageBase): ...@@ -321,7 +321,7 @@ class PackableStorage(PackableStorageBase):
root[2] = conn.get_connection('o').root() root[2] = conn.get_connection('o').root()
transaction.commit() transaction.commit()
db.pack(time.time()+1) db.pack(time.time()+1)
assert(len(self._storage) == 1) self.assertEqual(len(self._storage), 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment