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