From f55f9b704fb493327151e8641ae3cd5377eed0c6 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 21 Nov 2012 07:35:03 -0500 Subject: fix for py3 --- pyramid/tests/test_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/tests/test_integration.py b/pyramid/tests/test_integration.py index bb33c5c27..bf3960b2d 100644 --- a/pyramid/tests/test_integration.py +++ b/pyramid/tests/test_integration.py @@ -179,12 +179,12 @@ class TestEventOnlySubscribers(IntegrationBase, unittest.TestCase): def test_sendfoo(self): res = self.testapp.get('/sendfoo', status=200) - self.assertEqual(sorted(res.body.split()), ['foo', 'fooyup']) + self.assertEqual(sorted(res.body.split()), [b'foo', b'fooyup']) def test_sendfoobar(self): res = self.testapp.get('/sendfoobar', status=200) self.assertEqual(sorted(res.body.split()), - ['foobar', 'foobar2', 'foobaryup', 'foobaryup2']) + [b'foobar', b'foobar2', b'foobaryup', b'foobaryup2']) class TestStaticAppUsingAbsPath(TestStaticAppBase, unittest.TestCase): package = 'pyramid.tests.pkgs.static_abspath' -- cgit v1.2.3