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

Method test_idprog

Lib/idlelib/idle_test/test_colorizer.py:91–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 eq(m.groupdict()['SYNC'], '\n')
90
91 def test_idprog(self):
92 idprog = colorizer.idprog
93 m = idprog.match('nospace')
94 self.assertIsNone(m)
95 m = idprog.match(' space')
96 self.assertEqual(m.group(0), ' space')
97
98
99class ColorConfigTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 4

assertIsNoneMethod · 0.80
matchMethod · 0.45
assertEqualMethod · 0.45
groupMethod · 0.45

Tested by

no test coverage detected