summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-04-22 12:07:59 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-04-22 12:07:59 -0400
commitc0e5e774ef870affe7771024a20f87376a6faa4a (patch)
tree2fee5b6d4385579710dd010dfa4ca1da5397e6ef /test
parent6093e42b21d7e947d7bd053f6691aa1fed1a7f99 (diff)
downloadmongo-c0e5e774ef870affe7771024a20f87376a6faa4a.tar.gz
shorten long lines.
Diffstat (limited to 'test')
-rw-r--r--test/suite/test_util02.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/suite/test_util02.py b/test/suite/test_util02.py
index f55542e3d3f..6eebba051d7 100644
--- a/test/suite/test_util02.py
+++ b/test/suite/test_util02.py
@@ -110,7 +110,8 @@ class test_util02(wttest.WiredTigerTestCase, suite_subprocess):
result += "%0.2x" % ord(c)
elif c == '\\':
result += '\\\\'
- elif c == ' ' or (c in string.printable and not c in string.whitespace):
+ elif c == ' ' or \
+ (c in string.printable and not c in string.whitespace):
result += c
else:
result += '\\' + "%0.2x" % ord(c)
@@ -121,7 +122,8 @@ class test_util02(wttest.WiredTigerTestCase, suite_subprocess):
return result
def table_config(self):
- return 'key_format=' + self.key_format + ',value_format=' + self.value_format
+ return 'key_format=' + \
+ self.key_format + ',value_format=' + self.value_format
def load_process(self, hexoutput):
params = self.table_config()
@@ -142,7 +144,8 @@ class test_util02(wttest.WiredTigerTestCase, suite_subprocess):
self.runWt(["load", "-f", "dump.out", "-r", self.tablename2])
- cursor = self.session.open_cursor('table:' + self.tablename2, None, None)
+ cursor =\
+ self.session.open_cursor('table:' + self.tablename2, None, None)
self.assertEqual(cursor.key_format, self.key_format)
self.assertEqual(cursor.value_format, self.value_format)
i = 0