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

Method worker

simplejson/tests/test_free_threading.py:51–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 expected = simplejson.dumps(data, sort_keys=True)
50
51 def worker():
52 for _ in range(self.N_ITER):
53 self.assertEqual(
54 simplejson.dumps(data, sort_keys=True), expected)
55
56 self._run_threads(worker)
57

Callers

nothing calls this directly

Calls 4

dumpsMethod · 0.80
loadsMethod · 0.80
encodeMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected