MCPcopy Index your code
hub / github.com/python/cpython / test_bpo20891

Method test_bpo20891

Lib/test/test_embed.py:356–363  ·  view source on GitHub ↗

bpo-20891: Calling PyGILState_Ensure in a non-Python thread must not crash.

(self)

Source from the content-addressed store, hash-verified

354 self.assertEqual(err, '')
355
356 def test_bpo20891(self):
357 """
358 bpo-20891: Calling PyGILState_Ensure in a non-Python thread must not
359 crash.
360 """
361 out, err = self.run_embedded_interpreter("test_bpo20891")
362 self.assertEqual(out, '')
363 self.assertEqual(err, '')
364
365 def test_initialize_twice(self):
366 """

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45

Tested by

no test coverage detected