Skip to content

Commit

Permalink
minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisblake committed Jul 6, 2022
1 parent a186969 commit b4e6972
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/test_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ def test_get_regions_coord(region_name, lat, lon):
],
)
def test_get_regions_coord_with_supplied_regions_dict(region_name, lat, lon):
oceans = Region("OCN")
sam = Region("SAM")
asia = Region("ASIA")
regions = {"OCN": oceans, "SAM": sam, "ASIA": asia}
oceans, sam, asia = Region("OCN"), Region("SAM"), Region("ASIA")
candidate_regions = {"OCN": oceans, "SAM": sam, "ASIA": asia}
reg = Region(region_name)
assert reg.region_id in get_regions_coord(lat, lon, regions)
assert reg.region_id in get_regions_coord(lat, lon, candidate_regions)

0 comments on commit b4e6972

Please sign in to comment.