def METHOD_NAME(self):
    '''
    Parse an ISO time string and compare it to the expected value.
    '''
    if expectation is None:
        self.assertRaises(ISO8601Error, parse_time, timestring)
    else:
        result = parse_time(timestring)
        self.assertEqual(result, expectation)