diff options
| author | Chris McDonough <chrism@plope.com> | 2012-11-21 07:35:03 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-11-21 07:35:03 -0500 |
| commit | f55f9b704fb493327151e8641ae3cd5377eed0c6 (patch) | |
| tree | 9517535033bc1c2a6d03948e0b533b050b34601e | |
| parent | d91dc7bd96bdc8638c52e4b0685612237cf13578 (diff) | |
| download | pyramid-f55f9b704fb493327151e8641ae3cd5377eed0c6.tar.gz pyramid-f55f9b704fb493327151e8641ae3cd5377eed0c6.tar.bz2 pyramid-f55f9b704fb493327151e8641ae3cd5377eed0c6.zip | |
fix for py3
| -rw-r--r-- | pyramid/tests/test_integration.py | 4 |
1 files 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' |
