diff options
| author | Jim Dalton <jim@ere.net> | 2012-05-10 11:14:17 -0700 |
|---|---|---|
| committer | Jim Dalton <jim@ere.net> | 2012-05-10 11:14:17 -0700 |
| commit | 21c11b9911a0141602444265a34219c16c152067 (patch) | |
| tree | 8cd012ae1947a558b006b3db436791de9413627f /test_tablib.py | |
| parent | e8c923d7121da21cb96eedd68710c37f5c9b471f (diff) | |
| download | tablib-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-x | test_tablib.py | 2 |
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 |
