Skip to content

Commit

Permalink
Fix tests on Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 10, 2013
1 parent bc3008c commit 1bcacfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZODB/scripts/tests/test_repozo.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ def _makeFile(self, hour, min, sec, ext, text=None):
else:
_opener = open
with _opener(fqn, 'wb') as f:
f.write(text)
f.write(text.encode())
f.flush()
return fqn

Expand Down

0 comments on commit 1bcacfe

Please sign in to comment.