diff options
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_assert01.py')
-rw-r--r-- | src/third_party/wiredtiger/test/suite/test_assert01.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_assert01.py b/src/third_party/wiredtiger/test/suite/test_assert01.py index a91fd1700e0..0426ac8c8bb 100644 --- a/src/third_party/wiredtiger/test/suite/test_assert01.py +++ b/src/third_party/wiredtiger/test/suite/test_assert01.py @@ -33,9 +33,6 @@ from suite_subprocess import suite_subprocess import wiredtiger, wttest -def timestamp_str(t): - return '%x' % t - class test_assert01(wttest.WiredTigerTestCase, suite_subprocess): base = 'assert01' base_uri = 'file:' + base @@ -63,7 +60,7 @@ class test_assert01(wttest.WiredTigerTestCase, suite_subprocess): # Commit with a timestamp self.session.begin_transaction() self.session.timestamp_transaction( - 'commit_timestamp=' + timestamp_str(self.count)) + 'commit_timestamp=' + self.timestamp_str(self.count)) c[key] = val # All settings other than never should commit successfully if (use_ts != 'never'): |