Skip to content

Commit 65203c5

Browse files
author
zacharyburnett
committed
skip tests that rely on CO-OPS stations (that change)
1 parent f18f5f8 commit 65203c5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

tests/test_coops.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import sys
21
from datetime import datetime
32

43
import pytest
@@ -13,10 +12,8 @@
1312
from 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
)
2118
def 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
)
4035
def 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")
5854
def 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

Comments
 (0)