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

Method test_make_parser3

Lib/test/test_sax.py:274–282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

272 p = make_parser()
273
274 def test_make_parser3(self):
275 # Testing that make_parser can handle different types of
276 # iterables.
277 make_parser(['module'])
278 make_parser(('module', ))
279 make_parser({'module'})
280 make_parser(frozenset({'module'}))
281 make_parser({'module': None})
282 make_parser(iter(['module']))
283
284 def test_make_parser4(self):
285 # Testing that make_parser can handle empty iterables.

Callers

nothing calls this directly

Calls 2

make_parserFunction · 0.90
iterFunction · 0.85

Tested by

no test coverage detected