summaryrefslogtreecommitdiff
path: root/parts/django/tests/regressiontests/views/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'parts/django/tests/regressiontests/views/__init__.py')
-rw-r--r--parts/django/tests/regressiontests/views/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/parts/django/tests/regressiontests/views/__init__.py b/parts/django/tests/regressiontests/views/__init__.py
new file mode 100644
index 0000000..d1c6e08
--- /dev/null
+++ b/parts/django/tests/regressiontests/views/__init__.py
@@ -0,0 +1,10 @@
+# -*- coding: utf8 -*-
+
+class BrokenException(Exception):
+ pass
+
+except_args = ('Broken!', # plain exception with ASCII text
+ u'¡Broken!', # non-ASCII unicode data
+ '¡Broken!', # non-ASCII, utf-8 encoded bytestring
+ '\xa1Broken!', ) # non-ASCII, latin1 bytestring
+