Skip to content

Commit

Permalink
Python3 test failures if we assert that the sequence actually contain…
Browse files Browse the repository at this point in the history
…s bytes.
  • Loading branch information
jamadden committed Jul 11, 2016
1 parent 71b6239 commit 6fea7d8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/ZODB/tests/StorageTestBase.py
Expand Up @@ -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):
Expand Down

0 comments on commit 6fea7d8

Please sign in to comment.