Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed binary string oops

  • Loading branch information...
commit 4b4f40aa98be8e30ddeb60e2fda88f8b69ba6c7e 1 parent 2969a53
tulpe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pyramid_jinja2/tests/test_it.py
View
2  pyramid_jinja2/tests/test_it.py
@@ -538,7 +538,7 @@ def myview(request):
app = config.make_wsgi_app()
testapp = TestApp(app)
- self.assertEqual(testapp.get('/').body, text_('my hovercraft is full of eels!', 'utf-8'))
+ self.assertEqual(testapp.get('/').body.decode('utf-8'), text_('my hovercraft is full of eels!'))
class MiscTests(Base, unittest.TestCase):
Please sign in to comment.
Something went wrong with that request. Please try again.