Searched refs:isstate (Results 1 – 4 of 4) sorted by relevance
77 self.assertEqual(self.state.isstate('anything'), False)79 self.assertEqual(self.state.isstate('a_state'), True)81 self.assertEqual(self.state.isstate('state2'), True)82 self.assertEqual(self.state.isstate('a_state'), False)83 self.assertEqual(self.state.isstate('missing'), False)
30 def isstate(self, state): member in State
122 not self.parser.state.isstate('detabbed') and \166 if self.parser.state.isstate('list'):451 if self.parser.state.isstate('list'):
259 * **``isstate(state)``**: