Skip to content

Commit

Permalink
fix: actual fix now that we identified the culprit
Browse files Browse the repository at this point in the history
Signed-off-by: F.N. Claessen <[email protected]>
  • Loading branch information
Flix6x committed Feb 6, 2024
1 parent aa09560 commit a521a5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ dependencies = [
"scipy<1.6; python_version <= '3.6'",
"scipy<1.8; python_version <= '3.7'",
"scipy; python_version > '3.7'",

"pytest==7.4.2"
]
dynamic = ["version"]

Expand Down
6 changes: 2 additions & 4 deletions timely_beliefs/tests/test_belief_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ def test_incomplete_beliefs(missing_column_name, data, present_column_names):
df = pd.DataFrame(data, columns=present_column_names)

with pytest.raises(KeyError, match=missing_column_name):
with pytest.warns(UserWarning, match="created"):
tb.BeliefsDataFrame(df)
tb.BeliefsDataFrame(df)


@pytest.mark.parametrize(
Expand Down Expand Up @@ -311,8 +310,7 @@ def test_invalid_beliefs(invalid_column, data, column_names):
"""Test exceptions are thrown when input data is of the wrong type."""
df = pd.DataFrame(data, columns=column_names)
with pytest.raises(TypeError, match=invalid_column):
with pytest.warns(UserWarning, match="created"):
tb.BeliefsDataFrame(df)
tb.BeliefsDataFrame(df)


@pytest.mark.parametrize(
Expand Down

0 comments on commit a521a5f

Please sign in to comment.