summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-09-24 06:12:05 -0400
committerChris McDonough <chrism@plope.com>2011-09-24 06:12:05 -0400
commit466ab45b775f3010e388cb849f5a8c8beb05d30b (patch)
tree33de579f997016a098eeea65b18d9457cd5c3604
parent0ce501a771feaed09d19ebf45ba514648d7f819b (diff)
downloadpyramid-466ab45b775f3010e388cb849f5a8c8beb05d30b.tar.gz
pyramid-466ab45b775f3010e388cb849f5a8c8beb05d30b.tar.bz2
pyramid-466ab45b775f3010e388cb849f5a8c8beb05d30b.zip
fix chameleon_zpt test
-rw-r--r--pyramid/tests/test_chameleon_zpt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/tests/test_chameleon_zpt.py b/pyramid/tests/test_chameleon_zpt.py
index 6a38bd329..1a8e6767e 100644
--- a/pyramid/tests/test_chameleon_zpt.py
+++ b/pyramid/tests/test_chameleon_zpt.py
@@ -156,8 +156,8 @@ class RenderTemplateToResponseTests(Base, unittest.TestCase):
result = self._callFUT(minimal)
from webob import Response
self.assertTrue(isinstance(result, Response))
- self.assertEqual(result.app_iter[0].rstrip('\n'),
- '<div xmlns="http://www.w3.org/1999/xhtml">\n</div>')
+ self.assertEqual(result.app_iter[0].rstrip(b'\n'),
+ b'<div xmlns="http://www.w3.org/1999/xhtml">\n</div>')
self.assertEqual(result.status, '200 OK')
self.assertEqual(len(result.headerlist), 2)