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

Method test_unfound

Lib/idlelib/idle_test/test_grep.py:131–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 return lines
130
131 def test_unfound(self):
132 pat = 'xyz*'*7
133 lines = self.report(pat)
134 self.assertEqual(len(lines), 2)
135 self.assertIn(pat, lines[0])
136 self.assertEqual(lines[1], 'No hits.')
137
138 def test_found(self):
139

Callers

nothing calls this directly

Calls 3

reportMethod · 0.95
assertInMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected