Remove prints from the tests.
This commit is contained in:
parent
65c274c3d8
commit
aee8dbe540
1 changed files with 0 additions and 7 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue