aboutsummaryrefslogtreecommitdiffstats
path: root/tests/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/models.py')
-rw-r--r--tests/models.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/models.py b/tests/models.py
index e69de29..24358c0 100644
--- a/tests/models.py
+++ b/tests/models.py
@@ -0,0 +1,10 @@
+# coding: utf-8
+
+from __future__ import unicode_literals
+
+from django.utils import six
+
+
+class NonAsciiRepr(object):
+ def __repr__(self):
+ return 'nôt åscíì' if six.PY3 else 'nôt åscíì'.encode('utf-8')