MCPcopy Create free account
hub / github.com/simplejson/simplejson / test_c_scanstring

Method test_c_scanstring

simplejson/tests/test_scanstring.py:20–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 self._test_scanstring(simplejson.decoder.py_scanstring)
19
20 def test_c_scanstring(self):
21 if not simplejson.decoder.c_scanstring:
22 return
23 self._test_scanstring(simplejson.decoder.c_scanstring)
24
25 self.assertTrue(isinstance(simplejson.decoder.c_scanstring('""', 0)[0], str))
26
27 def _test_scanstring(self, scanstring):
28 if sys.maxunicode == 65535:

Callers

nothing calls this directly

Calls 1

_test_scanstringMethod · 0.95

Tested by

no test coverage detected