diff options
| author | Michael Merickel <michael@merickel.org> | 2020-01-18 14:15:12 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2020-01-18 14:15:12 -0600 |
| commit | 0bfd7af549121743a096ad899dda13c1e775cf3c (patch) | |
| tree | 1642d72e2bf57ff48d0930580205eaedef45b79a | |
| parent | 13b002c63cdef03f825fe3fc7ba9d89e34ebf140 (diff) | |
| download | pyramid-0bfd7af549121743a096ad899dda13c1e775cf3c.tar.gz pyramid-0bfd7af549121743a096ad899dda13c1e775cf3c.tar.bz2 pyramid-0bfd7af549121743a096ad899dda13c1e775cf3c.zip | |
remove unnecessary usage of text_
| -rw-r--r-- | src/pyramid/testing.py | 4 |
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 |
