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

Method test_make_parser2

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

Source from the content-addressed store, hash-verified

247
248class MakeParserTest(unittest.TestCase):
249 def test_make_parser2(self):
250 # Creating parsers several times in a row should succeed.
251 # Testing this because there have been failures of this kind
252 # before.
253 from xml.sax import make_parser
254 p = make_parser()
255 from xml.sax import make_parser
256 p = make_parser()
257 from xml.sax import make_parser
258 p = make_parser()
259 from xml.sax import make_parser
260 p = make_parser()
261 from xml.sax import make_parser
262 p = make_parser()
263 from xml.sax import make_parser
264 p = make_parser()
265
266 def test_make_parser3(self):
267 # Testing that make_parser can handle different types of

Callers

nothing calls this directly

Calls 1

make_parserFunction · 0.90

Tested by

no test coverage detected