Skip to content

Commit

Permalink
More bytes fixes for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
timsavage committed May 17, 2018
1 parent 2aab3cb commit 98b3389
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_bottle.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ def sample_operation(request, foo):

test_app.merge(target)

assert app.get('/api/eek', expect_errors=False).body == '"OK"'
result = app.get('/api/eek', expect_errors=False)
assert result.body == '"OK"' if six.PY2 else b'"OK"'

0 comments on commit 98b3389

Please sign in to comment.