@@ -13,7 +13,6 @@ def setup_method(self) -> None:
1313 key = "DUMMY_API_KEY"
1414 self .client = db .Historical (key = key )
1515
16- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
1716 def test_list_publishers_sends_expected_request (
1817 self ,
1918 mocker : MockerFixture ,
@@ -38,7 +37,6 @@ def test_list_publishers_sends_expected_request(
3837 assert call ["timeout" ] == (100 , 100 )
3938 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
4039
41- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
4240 def test_list_datasets_sends_expected_request (self , mocker : MockerFixture ) -> None :
4341 # Arrange
4442 mocked_get = mocker .patch ("requests.get" )
@@ -65,7 +63,6 @@ def test_list_datasets_sends_expected_request(self, mocker: MockerFixture) -> No
6563 assert call ["timeout" ] == (100 , 100 )
6664 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
6765
68- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
6966 def test_list_schemas_sends_expected_request (self , mocker : MockerFixture ) -> None :
7067 # Arrange
7168 mocked_get = mocker .patch ("requests.get" )
@@ -88,7 +85,6 @@ def test_list_schemas_sends_expected_request(self, mocker: MockerFixture) -> Non
8885 assert call ["timeout" ] == (100 , 100 )
8986 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
9087
91- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
9288 def test_list_fields_sends_expected_request (self , mocker : MockerFixture ) -> None :
9389 # Arrange
9490 mocked_get = mocker .patch ("requests.get" )
@@ -117,7 +113,6 @@ def test_list_fields_sends_expected_request(self, mocker: MockerFixture) -> None
117113 assert call ["timeout" ] == (100 , 100 )
118114 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
119115
120- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
121116 @pytest .mark .parametrize (
122117 "dataset, schema, mode" ,
123118 [
@@ -161,7 +156,6 @@ def test_list_unit_price_sends_expected_request(
161156 assert call ["timeout" ] == (100 , 100 )
162157 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
163158
164- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
165159 def test_get_dataset_condition_sends_expected_request (
166160 self ,
167161 mocker : MockerFixture ,
@@ -193,7 +187,6 @@ def test_get_dataset_condition_sends_expected_request(
193187 assert call ["timeout" ] == (100 , 100 )
194188 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
195189
196- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
197190 def test_get_dataset_range_sends_expected_request (
198191 self ,
199192 mocker : MockerFixture ,
@@ -221,7 +214,6 @@ def test_get_dataset_range_sends_expected_request(
221214 assert call ["timeout" ] == (100 , 100 )
222215 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
223216
224- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
225217 def test_get_record_count_sends_expected_request (
226218 self ,
227219 mocker : MockerFixture ,
@@ -262,7 +254,6 @@ def test_get_record_count_sends_expected_request(
262254 assert call ["timeout" ] == (100 , 100 )
263255 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
264256
265- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
266257 def test_get_billable_size_sends_expected_request (
267258 self ,
268259 mocker : MockerFixture ,
@@ -304,7 +295,6 @@ def test_get_billable_size_sends_expected_request(
304295 assert call ["timeout" ] == (100 , 100 )
305296 assert isinstance (call ["auth" ], requests .auth .HTTPBasicAuth )
306297
307- @pytest .mark .skipif (sys .version_info < (3 , 8 ), reason = "incompatible mocking" )
308298 def test_get_cost_sends_expected_request (self , mocker : MockerFixture ) -> None :
309299 # Arrange
310300 mocked_get = mocker .patch ("requests.get" )
0 commit comments