summaryrefslogtreecommitdiff
path: root/test/suite/test_checkpoint01.py
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-07-25 12:59:00 +0000
committerKeith Bostic <keith@wiredtiger.com>2012-07-25 12:59:00 +0000
commit4755a95662c692b606339c1fbd54ff92d02484d3 (patch)
tree0f1883e8cac24d2ea8c16140fd051b3f780940dc /test/suite/test_checkpoint01.py
parentfec88ffd27e7b416cde39052ce75d1cb0bae14ea (diff)
downloadmongo-4755a95662c692b606339c1fbd54ff92d02484d3.tar.gz
Remove the cursor_lock_deprecated function, it's never used.
Diffstat (limited to 'test/suite/test_checkpoint01.py')
-rw-r--r--test/suite/test_checkpoint01.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/suite/test_checkpoint01.py b/test/suite/test_checkpoint01.py
index 47529bffad8..75174efa3f9 100644
--- a/test/suite/test_checkpoint01.py
+++ b/test/suite/test_checkpoint01.py
@@ -127,21 +127,6 @@ class CheckpointTest(wttest.WiredTigerTestCase):
lambda: self.session.checkpoint("drop=(from=checkpoint-1)"), r"")
cursor.close()
- def cursor_lock_deprecated(self):
- buf = 'snapshot=snapshot-1'
- cursor = self.session.open_cursor(self.URI, None, buf)
- with self.assertRaises(wiredtiger.WiredTigerError) as cm:
- self.session.drop(self.URI, buf)
- self.assertEqual(0, cursor.close())
- cursor1 = self.session.open_cursor(self.URI, None, buf)
- assert cursor1 != None
- buf = 'snapshot=snapshot-2'
- cursor2 = self.session.open_cursor(self.URI, None, buf)
- cursor3 = self.session.open_cursor(self.URI, None, None)
- self.assertEqual(0, cursor1.close())
- self.assertEqual(0, cursor2.close())
- self.assertEqual(0, cursor3.close())
-
def drop(self):
self.assertEqual(0, self.session.checkpoint("drop=(from=all)"))
self.assertEqual(0, self.session.verify(self.URI, None))