summaryrefslogtreecommitdiff
path: root/tests/test_response.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-11-14 22:15:57 -0600
committerMichael Merickel <michael@merickel.org>2018-11-14 22:15:57 -0600
commit2f8ede09e52162e475aececf587b21e96a2b1a79 (patch)
treeb14ed0c012654af2b2a19d4043895816cb7021af /tests/test_response.py
parent78dcc6dff88829831ead187804ac9233eafab52e (diff)
downloadpyramid-2f8ede09e52162e475aececf587b21e96a2b1a79.tar.gz
pyramid-2f8ede09e52162e475aececf587b21e96a2b1a79.tar.bz2
pyramid-2f8ede09e52162e475aececf587b21e96a2b1a79.zip
move text_, bytes_ and ascii_ to pyramid.util and remove native_
Diffstat (limited to 'tests/test_response.py')
-rw-r--r--tests/test_response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_response.py b/tests/test_response.py
index 5231e47f0..18d4335ad 100644
--- a/tests/test_response.py
+++ b/tests/test_response.py
@@ -73,9 +73,9 @@ class TestFileResponse(unittest.TestCase):
# function returns Unicode for the content_type, unlike any previous
# version of Python. See https://github.com/Pylons/pyramid/issues/1360
# for more information.
- from pyramid.compat import text_
import mimetypes as old_mimetypes
from pyramid import response
+ from pyramid.util import text_
class FakeMimetypesModule(object):
def guess_type(self, *arg, **kw):