Skip to content

Commit cb2976e

Browse files
committed
update waterdata test to skip on python 3.9 and older
1 parent ed8fa23 commit cb2976e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/waterdata_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import datetime
2-
2+
import sys
33
import pytest
44
from pandas import DataFrame
55

6+
if sys.version_info < (3, 10):
7+
pytest.skip("Skip entire module on Python < 3.10", allow_module_level=True)
8+
69
from dataretrieval.waterdata import (
710
_check_profiles,
811
get_samples,

0 commit comments

Comments
 (0)