summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-18 14:15:12 -0600
committerMichael Merickel <michael@merickel.org>2020-01-18 14:15:12 -0600
commit0bfd7af549121743a096ad899dda13c1e775cf3c (patch)
tree1642d72e2bf57ff48d0930580205eaedef45b79a /src
parent13b002c63cdef03f825fe3fc7ba9d89e34ebf140 (diff)
downloadpyramid-0bfd7af549121743a096ad899dda13c1e775cf3c.tar.gz
pyramid-0bfd7af549121743a096ad899dda13c1e775cf3c.tar.bz2
pyramid-0bfd7af549121743a096ad899dda13c1e775cf3c.zip
remove unnecessary usage of text_
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/testing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyramid/testing.py b/src/pyramid/testing.py
index af02872dd..405be7d21 100644
--- a/src/pyramid/testing.py
+++ b/src/pyramid/testing.py
@@ -15,7 +15,7 @@ from pyramid.response import _get_response_factory
from pyramid.security import AuthenticationAPIMixin, SecurityAPIMixin
from pyramid.threadlocal import get_current_registry, manager
from pyramid.url import URLMethodsMixin
-from pyramid.util import PYPY, InstancePropertyMixin, text_
+from pyramid.util import PYPY, InstancePropertyMixin
from pyramid.view import ViewMethodsMixin
_marker = object()
@@ -260,7 +260,7 @@ class DummySession(dict):
return storage
def new_csrf_token(self):
- token = text_('0123456789012345678901234567890123456789')
+ token = '0123456789012345678901234567890123456789'
self['_csrft_'] = token
return token