Permalink
Browse files

Bugfix (python 3.x) in unitest

  • Loading branch information...
jedie committed Oct 15, 2012
1 parent 27aa5c0 commit e4846a3ef8f25e7c8499698952a1b4af26d9bf78
Showing with 3 additions and 1 deletion.
  1. +3 −1 creole/tests/test_rest2html.py
@@ -111,8 +111,10 @@ def test_include_disabled_by_default(self):
""", report_level=3) # Set log level to "error" to suppress the waring output
def test_include_enabled(self):
+ test_content = "Content from include file."
+ test_content = test_content.encode("utf-8")
with tempfile.NamedTemporaryFile() as temp:
- temp.write("Content from include file.")
+ temp.write(test_content)
temp.flush()
self.assert_rest2html("""
Enable include and test it.

0 comments on commit e4846a3

Please sign in to comment.