MCPcopy Create free account
hub / github.com/ipython/ipython / test_parser

Function test_parser

IPython/testing/tests/test_tools.py:53–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52
53def test_parser():
54 err = ("FAILED (errors=1)", 1, 0)
55 fail = ("FAILED (failures=1)", 0, 1)
56 both = ("FAILED (errors=1, failures=1)", 1, 1)
57 for txt, nerr, nfail in [err, fail, both]:
58 nerr1, nfail1 = tt.parse_test_output(txt)
59 nt.assert_equal(nerr, nerr1)
60 nt.assert_equal(nfail, nfail1)
61
62
63def test_temp_pyfile():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected