def test_solar_get_hour_angle_no_error(self):
        try:
            solar.get_hour_angle(self.aware, self.lon)
        except NoTimeZoneInfoError:
            self.fail("""'NoTimeZoneInfoError' should not be raised \
as 'datetime' object is tz-aware.""")
 def test_solar_get_solar_time_raise_error(self):
     with self.assertRaises(NoTimeZoneInfoError):
         solar.get_hour_angle(self.unaware, self.lon)