Py3: Fix a test_language_writer test by using a byte literal

This commit is contained in:
Shadab Zafar 2016-06-07 11:45:38 +05:30 committed by Maximilian Hils
parent 4f3ace1a62
commit d254fe791a
1 changed files with 1 additions and 1 deletions

View File

@ -87,4 +87,4 @@ def test_write_values_after():
s = BytesIO()
r = next(language.parse_pathod("400:ia,'xx'"))
language.serve(r, s, {})
assert s.getvalue().endswith('xx')
assert s.getvalue().endswith(b'xx')