diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-03-28 14:58:06 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-03-28 14:58:06 +0000 |
| commit | a1a133c7fd450ca600f8c7544f8281be517fdec2 (patch) | |
| tree | 6b87d745762850b31455e8528a31d976d25a2f03 /tests | |
| parent | 0ffe91235db4bdc132329599d8d434bc53d3b951 (diff) | |
Add Python 3.2 support
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/jq_tests.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/jq_tests.py b/tests/jq_tests.py index c7ffd01..c0f4391 100644 --- a/tests/jq_tests.py +++ b/tests/jq_tests.py @@ -1,5 +1,7 @@ # coding=utf8 +from __future__ import unicode_literals + from nose.tools import istest, assert_equal, assert_raises from jq import jq @@ -118,14 +120,14 @@ def value_error_is_raised_if_input_is_not_valid_json(): @istest def unicode_strings_can_be_used_as_input(): assert_equal( - u"‽", - jq(".").transform(text=u'"‽"') + "‽", + jq(".").transform(text='"‽"') ) @istest def unicode_strings_can_be_used_as_programs(): assert_equal( - u"Dragon‽", - jq(u'.+"‽"').transform(text=u'"Dragon"') + "Dragon‽", + jq('.+"‽"').transform(text='"Dragon"') ) |
