def testReset(self):
        self.state.set('a_state')
        self.state.reset()
        self.assertEqual(self.state, [])
        self.state.set('state1')
        self.state.set('state2')
        self.state.reset()
        self.assertEqual(self.state, ['state1'])
Test State.reset().
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/markdown/regression-tests.py/TestBlockParserState.testReset