summaryrefslogtreecommitdiff
path: root/test_tablib.py
diff options
context:
space:
mode:
authorJim Dalton <jim@ere.net>2012-05-10 11:14:17 -0700
committerJim Dalton <jim@ere.net>2012-05-10 11:14:17 -0700
commit21c11b9911a0141602444265a34219c16c152067 (patch)
tree8cd012ae1947a558b006b3db436791de9413627f /test_tablib.py
parente8c923d7121da21cb96eedd68710c37f5c9b471f (diff)
downloadtablib-21c11b9911a0141602444265a34219c16c152067.tar.gz
Fix UnicodeError in HTML output
* Alter `test_unicode_append` so that actual unicode characters outside the ASCII bytestring range are tested. * Make sure output of `render` in markup.py is unicode * Add wrapper around output of `export_set` in _html.py so that unicode characters are output.
Diffstat (limited to 'test_tablib.py')
-rwxr-xr-xtest_tablib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_tablib.py b/test_tablib.py
index aab1b0f..15a6bec 100755
--- a/test_tablib.py
+++ b/test_tablib.py
@@ -308,7 +308,7 @@ class TablibTestCase(unittest.TestCase):
def test_unicode_append(self):
"""Passes in a single unicode charecter and exports."""
- new_row = ('å', 'é')
+ new_row = (u'å', u'é')
data.append(new_row)
data.json