1- import sys
21from datetime import datetime
32
43import pytest
1312from tests import REFERENCE_DIRECTORY
1413
1514
16- # TODO figure out why retrieved stations are different in Python 3.6
17- @pytest .mark .skipif (
18- sys .version_info < (3 , 7 ),
19- reason = "stations list differences in Python 3.6" ,
15+ @pytest .mark .skip (
16+ reason = "stations change over time" ,
2017)
2118def test_coops_stations ():
2219 stations = coops_stations ()
@@ -32,10 +29,8 @@ def test_coops_stations():
3229 ]
3330
3431
35- # TODO figure out why retrieved stations are different in Python 3.6
36- @pytest .mark .skipif (
37- sys .version_info < (3 , 7 ),
38- reason = "stations list differences in Python 3.6" ,
32+ @pytest .mark .skip (
33+ reason = "stations change over time" ,
3934)
4035def test_coops_stations_within_region ():
4136 reference_directory = REFERENCE_DIRECTORY / "test_coops_stations_within_region"
@@ -55,6 +50,7 @@ def test_coops_stations_within_region():
5550 check_reference_directory (output_directory , reference_directory )
5651
5752
53+ @pytest .mark .skip (reason = "stations change over time" )
5854def test_coops_product_within_region ():
5955 reference_directory = REFERENCE_DIRECTORY / "test_coops_product_within_region"
6056 output_directory = OUTPUT_DIRECTORY / "test_coops_product_within_region"
0 commit comments