@@ -689,11 +689,6 @@ def test_init(self):
689689 "crs" : 4326 ,
690690 }
691691
692- @pytest .mark .skipif (
693- # TODO #460 #578 this skip is only necessary for python 3.6 and lower
694- pyproj .__version__ < ComparableVersion ("3.3.1" ),
695- reason = "pyproj below 3.3.1 does not support int-like strings" ,
696- )
697692 def test_init_python_for_pyprojv331 (self ):
698693 """Extra test case that does not work with old pyproj versions that we get on python version 3.7 and below."""
699694 assert BBoxDict (west = 1 , south = 2 , east = 3 , north = 4 , crs = "4326" ) == {
@@ -730,11 +725,6 @@ def test_to_bbox_dict_from_sequence(self):
730725 "crs" : 4326 ,
731726 }
732727
733- @pytest .mark .skipif (
734- # TODO #460 #578 this skip is only necessary for python 3.6 and lower
735- pyproj .__version__ < ComparableVersion ("3.3.1" ),
736- reason = "pyproj below 3.3.1 does not support int-like strings" ,
737- )
738728 def test_to_bbox_dict_from_sequence_pyprojv331 (self ):
739729 """Extra test cases that do not work with old pyproj versions that we get on python version 3.7 and below."""
740730 assert to_bbox_dict ([1 , 2 , 3 , 4 ], crs = "4326" ) == {
@@ -788,11 +778,6 @@ def test_to_bbox_dict_from_dict(self):
788778 }
789779 ) == {"west" : 1 , "south" : 2 , "east" : 3 , "north" : 4 , "crs" : 4326 }
790780
791- @pytest .mark .skipif (
792- # TODO #460 #578 this skip is only necessary for python 3.6 and lower
793- pyproj .__version__ < ComparableVersion ("3.3.1" ),
794- reason = "pyproj below 3.3.1 does not support int-like strings" ,
795- )
796781 def test_to_bbox_dict_from_dict_for_pyprojv331 (self ):
797782 """Extra test cases that do not work with old pyproj versions that we get on python version 3.7 and below."""
798783 assert to_bbox_dict ({"west" : 1 , "south" : 2 , "east" : 3 , "north" : 4 , "crs" : "4326" }) == {
@@ -932,10 +917,6 @@ class TestNormalizeCrs:
932917 )
933918 def test_normalize_crs_succeeds_with_correct_crses (self , epsg_input , expected ):
934919 """Happy path, values that are allowed"""
935- if isinstance (epsg_input , str ) and epsg_input .isnumeric () and pyproj .__version__ < ComparableVersion ("3.3.1" ):
936- # TODO #578 drop this skip once support for python 3.7 is dropped (pyproj 3.3.0 requires at least python 3.8)
937- pytest .skip ("pyproj below 3.3.1 does not support int-like strings" )
938-
939920 assert normalize_crs (epsg_input ) == expected
940921
941922 @pytest .mark .parametrize (
@@ -1051,11 +1032,6 @@ def test_normalize_crs_without_pyproj_succeeds_with_wkt2_input(self):
10511032 "id" : {"authority" : "EPSG" , "code" : 32631 },
10521033 }
10531034
1054- @pytest .mark .skipif (
1055- # TODO #578 drop this skip once support for python 3.7 is dropped (pyproj 3.3.0 requires at least python 3.8)
1056- pyproj .__version__ < ComparableVersion ("3.3.0" ),
1057- reason = "PROJJSON format support requires pyproj 3.3.0 or higher" ,
1058- )
10591035 def test_normalize_crs_succeeds_with_correct_projjson (
10601036 self ,
10611037 ):
0 commit comments