summaryrefslogtreecommitdiff
path: root/test/suite/test_drop_create.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/test_drop_create.py')
-rw-r--r--test/suite/test_drop_create.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/suite/test_drop_create.py b/test/suite/test_drop_create.py
index 9566edf9f6f..9cd6a32c9bf 100644
--- a/test/suite/test_drop_create.py
+++ b/test/suite/test_drop_create.py
@@ -63,9 +63,7 @@ class test_drop_create(wttest.WiredTigerTestCase):
# Create a table with the same name, but a different schema
self.assertEqual(s.create("table:test", 'key_format=S,value_format=l,columns=(k,v)'), 0)
c2 = s2.open_cursor("table:test", None, None)
- c2.set_key("Hi")
- c2.set_value(1)
- c2.insert()
+ c2["Hi"] = 1
self.assertEqual(s.close(), 0)
self.assertEqual(s2.close(), 0)