def test_prev_state_updates(self):
        random.seed(5)
        p1 = axelrod.CautiousQLearner()
        p2 = axelrod.Cooperator()
        simulate_play(p1, p2)
        self.assertEqual(p1.prev_state, '0.0')
        simulate_play(p1, p2)
        self.assertEqual(p1.prev_state, 'C1.0')
Undrain nodes of a given type.
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_qlearner.py/TestCautiousQLearner.test_prev_state_updates--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/fabfile.py/undrain