summaryrefslogtreecommitdiff
path: root/tests/view_tests/__init__.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-03 19:38:33 -0500
committerGitHub <noreply@github.com>2017-02-03 19:38:33 -0500
commit2d899ce16bdbef1a015275237f0bfef4045fb6b2 (patch)
treefd40a36a033d1b7d63bde726a6547172aa6e82e6 /tests/view_tests/__init__.py
parent26619ad7b069b9113d154c11c586935ee9aaa4c4 (diff)
Refs #23919 -- Removed a Python 2 code path in force_text().
Reverted the obsolete fix and tests for refs #12302.
Diffstat (limited to 'tests/view_tests/__init__.py')
-rw-r--r--tests/view_tests/__init__.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/view_tests/__init__.py b/tests/view_tests/__init__.py
index f48b197507..e69de29bb2 100644
--- a/tests/view_tests/__init__.py
+++ b/tests/view_tests/__init__.py
@@ -1,8 +0,0 @@
-class BrokenException(Exception):
- pass
-
-
-except_args = (b'Broken!', # plain exception with ASCII text
- '¡Broken!', # non-ASCII unicode data
- '¡Broken!'.encode('utf-8'), # non-ASCII, utf-8 encoded bytestring
- b'\xa1Broken!', ) # non-ASCII, latin1 bytestring