summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2014-03-11 08:27:56 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2014-03-11 08:27:56 -0700
commit0c425da09d966bafd2f4043fa8919f3da4d8abc4 (patch)
treed2e0f8b91405034d4ccfe72c9d1b97744e6df9d6
parent49bcc8e86ded6785c3bddd6972f870b2d2d858a8 (diff)
downloadpyramid-0c425da09d966bafd2f4043fa8919f3da4d8abc4.tar.gz
pyramid-0c425da09d966bafd2f4043fa8919f3da4d8abc4.tar.bz2
pyramid-0c425da09d966bafd2f4043fa8919f3da4d8abc4.zip
Remove 'b'; WebTest or WebOb doesn't like Python 3 bytes for URLs
-rw-r--r--pyramid/tests/test_integration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/tests/test_integration.py b/pyramid/tests/test_integration.py
index bc22c2e54..48199c419 100644
--- a/pyramid/tests/test_integration.py
+++ b/pyramid/tests/test_integration.py
@@ -652,7 +652,7 @@ class UnicodeInURLTest(unittest.TestCase):
return TestApp(app)
def test_unicode_in_url_404(self):
- request_path = b'/avalia%C3%A7%C3%A3o_participante/'
+ request_path = '/avalia%C3%A7%C3%A3o_participante/'
request_path_unicode = u'/avalia\xe7\xe3o_participante/'
config = self._makeConfig()
@@ -662,7 +662,7 @@ class UnicodeInURLTest(unittest.TestCase):
self.assertTrue(request_path_unicode in res.text)
def test_unicode_in_url_200(self):
- request_path = b'/avalia%C3%A7%C3%A3o_participante'
+ request_path = '/avalia%C3%A7%C3%A3o_participante'
request_path_unicode = u'/avalia\xe7\xe3o_participante'
def myview(request):