'Test that student answers that cannot be interpeted as numbers
cause the response type to raise an error.'

def test_interpret_error(self):

    two_choice_two_input = self._make_problem([('true', {'answer': '123', 'tolerance': '1'}), ('false', {})], 'checkboxtextgroup')
    with self.assertRaisesRegexp(StudentInputError, 'Could    not    interpret'):
        self.assert_grade(two_choice_two_input, self._make_answer_dict([(True, ['Platypus'])]), 'correct')
    with self.assertRaisesRegexp(StudentInputError, 'Could    not    interpret'):
        self.assert_grade(two_choice_two_input, self._make_answer_dict([(True, ['1']), (True, ['Platypus'])]), 'correct')
