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

Method test_make_parser5

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

Source from the content-addressed store, hash-verified

283 make_parser(iter([]))
284
285 def test_make_parser5(self):
286 # Testing that make_parser can handle iterables with more than
287 # one item.
288 make_parser(['module1', 'module2'])
289 make_parser(('module1', 'module2'))
290 make_parser({'module1', 'module2'})
291 make_parser(frozenset({'module1', 'module2'}))
292 make_parser({'module1': None, 'module2': None})
293 make_parser(iter(['module1', 'module2']))
294
295# ===========================================================================
296#

Callers

nothing calls this directly

Calls 1

make_parserFunction · 0.90

Tested by

no test coverage detected