Skip to content

Commit

Permalink
bump to 3.9 as min Python version for mp-api usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sgbaird committed Mar 19, 2024
1 parent 7e82377 commit b3be81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_mp_time_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
elements = ["V"]


@pytest.mark.skipif(sys.version_info < (3, 8), reason="requires Python 3.8+")
@pytest.mark.skipif(sys.version_info < (3, 9), reason="requires Python 3.9+")
def test_data_snapshot_one_by_one():
dummy_expt_df_check = load_dataframe_from_json(dummy_data_path)
mpt = MPTimeSplit(num_sites=num_sites, elements=elements)
Expand All @@ -32,7 +32,7 @@ def test_data_snapshot_one_by_one():
)


@pytest.mark.skipif(sys.version_info < (3, 8), reason="requires Python 3.8+")
@pytest.mark.skipif(sys.version_info < (3, 9), reason="requires Python 3.9+")
def test_get_train_and_val_data():
mpt = MPTimeSplit(num_sites=num_sites, elements=elements)
mpt.fetch_data(one_by_one=True)
Expand All @@ -51,7 +51,7 @@ def test_get_train_and_val_data():
return train_inputs, val_inputs, train_outputs, val_outputs


@pytest.mark.skipif(sys.version_info < (3, 8), reason="requires Python 3.8+")
@pytest.mark.skipif(sys.version_info < (3, 9), reason="requires Python 3.9+")
def test_get_final_test_data():
mpt = MPTimeSplit(num_sites=num_sites, elements=elements)
mpt.fetch_data(one_by_one=True)
Expand Down

0 comments on commit b3be81c

Please sign in to comment.