Skip to content

Commit

Permalink
fix missing epsg test
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Jul 8, 2019
1 parent dfc4c00 commit b9bf144
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test_crs.py
Expand Up @@ -229,8 +229,11 @@ def test_datum():


def test_epsg__not_found():
assert CRS("+proj=longlat +datum=WGS84 +no_defs").to_epsg(0) is None
assert CRS.from_string("+proj=longlat +datum=WGS84 +no_defs").to_epsg() is None
assert CRS("+proj=longlat +datum=WGS84 +no_defs +towgs84=0,0,0").to_epsg(0) is None
assert (
CRS.from_string("+proj=longlat +datum=WGS84 +no_defs +towgs84=0,0,0").to_epsg()
is None
)


def test_epsg__no_code_available():
Expand Down

0 comments on commit b9bf144

Please sign in to comment.