summaryrefslogtreecommitdiff
path: root/tests/test_view.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-11-12 23:16:09 -0600
committerMichael Merickel <michael@merickel.org>2018-11-12 23:16:09 -0600
commitb1a257bacc1c4ac2c1401ed02c51d9c6c03685d2 (patch)
treea3024d0d24f192d1dd8c24eab6e9ec4b39169489 /tests/test_view.py
parent6b0e4625da2c53a1e3fdb4857fc7c6ba6ce562cf (diff)
downloadpyramid-b1a257bacc1c4ac2c1401ed02c51d9c6c03685d2.tar.gz
pyramid-b1a257bacc1c4ac2c1401ed02c51d9c6c03685d2.tar.bz2
pyramid-b1a257bacc1c4ac2c1401ed02c51d9c6c03685d2.zip
get rid of type aliases
Diffstat (limited to 'tests/test_view.py')
-rw-r--r--tests/test_view.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_view.py b/tests/test_view.py
index f82480169..de40df1d5 100644
--- a/tests/test_view.py
+++ b/tests/test_view.py
@@ -417,12 +417,11 @@ class RenderViewToIterableTests(BaseTest, unittest.TestCase):
from pyramid.request import Request
from pyramid.config import Configurator
from pyramid.view import render_view
- from webob.compat import text_type
config = Configurator(settings={})
def view(request):
- request.response.text = text_type('<body></body>')
+ request.response.text = '<body></body>'
return request.response
config.add_view(name='test', view=view)