We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
colorizer.idprog
1 parent c782fe4 commit 03ad785Copy full SHA for 03ad785
1 file changed
Lib/idlelib/idle_test/test_colorizer.py
@@ -93,6 +93,14 @@ def test_idprog(self):
93
self.assertIsNone(m)
94
m = idprog.match(' space')
95
self.assertEqual(m.group(0), ' space')
96
+ m = idprog.match(' space')
97
+ self.assertTrue(m.groups()[0].isidentifier())
98
+ m = idprog.match(' 42')
99
+ self.assertFalse(m.groups()[0].isidentifier())
100
+ m = idprog.match('dot·[T]')
101
102
+ m = idprog.match(' cls()')
103
104
105
106
class ColorConfigTest(unittest.TestCase):
0 commit comments