Commit 6fea7d8d authored by Jason Madden's avatar Jason Madden

Python3 test failures if we assert that the sequence actually contains bytes.

parent 71b6239d
......@@ -111,11 +111,8 @@ def handle_all_serials(oid, *args):
This is pointless with IMultiCommitStorage.
"""
d = {}
for arg in args:
if arg: # store() will have passed us None
for t in arg:
assert isinstance(t, bytes)
# This will be the tid returned by tpc_finish.
# On empty dict, _dostore will choose the serial returned from
# tpc_finish.
return d
def handle_serials(oid, *args):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment