Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aelanman committed Mar 22, 2024
1 parent 0ad61ac commit e05c1e4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lunarsky/tests/test_moon.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
import copy
import numpy as np
import astropy.units as unit
from astropy.coordinates import Longitude, Latitude, SphericalRepresentation, SphericalDifferential
from astropy.coordinates import (
Longitude,
Latitude,
)
from astropy.tests.helper import quantity_allclose
from astropy.coordinates.tests.test_representation import representation_equal
from lunarsky import MoonLocation, MoonLocationAttribute, MCMF
from lunarsky.moon import SELENOIDS, MoonLocationInfo
from lunarsky.moon import SELENOIDS


class TestsWithObject:
Expand Down Expand Up @@ -71,7 +73,7 @@ def test_invalid(self):

# invalid ellipsoid
with pytest.raises(ValueError):
loc = MoonLocation.from_selenodetic(self.lon, self.lat, self.h, ellipsoid="INVALID")
MoonLocation.from_selenodetic(self.lon, self.lat, self.h, ellipsoid="INVALID")

def test_attributes(self):
assert np.allclose(self.location.height, self.h)
Expand Down

0 comments on commit e05c1e4

Please sign in to comment.