Remove prints from the tests.

This commit is contained in:
hofmockel 2015-07-05 14:16:20 +02:00
parent 65c274c3d8
commit aee8dbe540

View file

@ -74,13 +74,6 @@ class TestDB(unittest.TestCase, TestHelper):
self.assertEqual(ref, ret) self.assertEqual(ref, ret)
def test_write_batch_iter(self): def test_write_batch_iter(self):
batch = rocksdb.WriteBatch()
batch.put(b"key1", b"v1")
batch.delete(b'a')
batch.merge(b'xxx', b'value')
for op, key, value in batch:
print op, key, value
batch = rocksdb.WriteBatch() batch = rocksdb.WriteBatch()
self.assertEqual([], list(batch)) self.assertEqual([], list(batch))