Skip to content

Commit

Permalink
Merge pull request #74 from plone/testfix
Browse files Browse the repository at this point in the history
fix unicode error in tests
  • Loading branch information
petschki authored Oct 4, 2018
2 parents 7247753 + 7eb511e commit 901b51a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ New features:

Bug fixes:

- *add item here*
- Fix unicode errors in tests
[petschki]


1.2.10 (2018-09-28)
Expand Down
2 changes: 1 addition & 1 deletion lib/diazo/tests/test_diazo.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def testAll(self):

# Compare to previous version
if os.path.exists(outputfn):
with open(outputfn) as f:
with open(outputfn, 'rb') as f:
old = f.read()
new = self.themed_string
if not xml_compare(
Expand Down

0 comments on commit 901b51a

Please sign in to comment.