diff options
-rw-r--r-- | simplejson/tests/test_scanstring.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/simplejson/tests/test_scanstring.py b/simplejson/tests/test_scanstring.py index 3d98f0d..d5de180 100644 --- a/simplejson/tests/test_scanstring.py +++ b/simplejson/tests/test_scanstring.py @@ -22,6 +22,8 @@ class TestScanString(TestCase): return self._test_scanstring(simplejson.decoder.c_scanstring) + self.assertTrue(isinstance(simplejson.decoder.c_scanstring('""', 0)[0], str)) + def _test_scanstring(self, scanstring): if sys.maxunicode == 65535: self.assertEqual( |