diff options
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_txn01.py')
-rw-r--r-- | src/third_party/wiredtiger/test/suite/test_txn01.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_txn01.py b/src/third_party/wiredtiger/test/suite/test_txn01.py index 2de136d9231..daf9b5193c6 100644 --- a/src/third_party/wiredtiger/test/suite/test_txn01.py +++ b/src/third_party/wiredtiger/test/suite/test_txn01.py @@ -110,8 +110,8 @@ class test_txn01(wttest.WiredTigerTestCase): cursor = self.session.open_cursor(self.uri, None) self.check(cursor, 0, 0) self.session.begin_transaction() - for i in xrange(self.nentries): - if i > 0 and i % (self.nentries / 37) == 0: + for i in range(self.nentries): + if i > 0 and i % (self.nentries // 37) == 0: self.check(cursor, committed, i) self.session.commit_transaction() committed = i |