def test_reset_method(self):
        P1 = axelrod.ArrogantQLearner()
        P1.Qs = {'': {C: 0, D: -0.9}, '0.0': {C: 0, D: 0}}
        P1.Vs = {'': 0, '0.0': 0}
        P1.history = [C, D, D, D]
        P1.prev_state = C
        P1.reset()
        self.assertEqual(P1.prev_state, '')
        self.assertEqual(P1.history, [])
        self.assertEqual(P1.Vs, {'':0})
        self.assertEqual(P1.Qs, {'':{C:0, D:0}})
Remove lost connection from cache.
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_qlearner.py/TestArrogantQLearner.test_reset_method--crossover with--dataset/ETHPy150Open twisted/vertex/vertex/conncache.py/ConnectionCache.connectionLostForKey