summaryrefslogtreecommitdiff
path: root/test/suite/test_base05.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/test_base05.py')
-rw-r--r--test/suite/test_base05.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/suite/test_base05.py b/test/suite/test_base05.py
index 0726653d95f..399cba07164 100644
--- a/test/suite/test_base05.py
+++ b/test/suite/test_base05.py
@@ -168,9 +168,7 @@ class test_base05(wttest.WiredTigerTestCase):
numbers[i] = i
key = self.mixed_string(i)
value = self.mixed_string(i+1)
- cursor.set_key(key)
- cursor.set_value(value)
- cursor.insert()
+ cursor[key] = value
# quick spot check to make sure searches work
for divisor in [3, 5, 7]:
@@ -212,9 +210,7 @@ class test_base05(wttest.WiredTigerTestCase):
key = val = unicode(strlist[i])
else:
key = val = strlist[i]
- cursor.set_key(key)
- cursor.set_value(val)
- cursor.insert()
+ cursor[key] = val
for i in range(0, len(strlist)):
if convert: