MCPcopy Index your code
hub / github.com/RustPython/RustPython / b

Method b

Lib/test/test_generators.py:987–992  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

985 self.assertIsNone(gen_b.gi_yieldfrom)
986
987 def b():
988 self.assertIsNone(gen_b.gi_yieldfrom)
989 yield from a()
990 self.assertIsNone(gen_b.gi_yieldfrom)
991 yield
992 self.assertIsNone(gen_b.gi_yieldfrom)
993
994 gen_b = b()
995 self.assertEqual(inspect.getgeneratorstate(gen_b), inspect.GEN_CREATED)

Callers

nothing calls this directly

Calls 2

assertIsNoneMethod · 0.80
aClass · 0.70

Tested by

no test coverage detected