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

Method test_invalid_yield_from

Lib/test/test_unparse.py:497–498  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

495 ), "{'\\\\\\\\'}")
496
497 def test_invalid_yield_from(self):
498 self.check_invalid(ast.YieldFrom(value=None))
499
500 def test_import_from_level_none(self):
501 tree = ast.ImportFrom(module='mod', names=[ast.alias(name='x')])

Callers

nothing calls this directly

Calls 1

check_invalidMethod · 0.45

Tested by

no test coverage detected