Skip to content

Commit

Permalink
Parametrize xp for test_make_namespace_raises_invalid_argument
Browse files Browse the repository at this point in the history
  • Loading branch information
honno committed Sep 16, 2022
1 parent 5a54418 commit 4a703af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hypothesis-python/tests/array_api/test_argument_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,6 @@ def test_raise_invalid_argument(xp, xps, strat_name, kwargs):


@pytest.mark.parametrize("api_version", [None, "latest", "1970.01", 42])
def test_make_namespace_raise_invalid_argument(api_version):
def test_make_namespace_raise_invalid_argument(xp, xps, api_version):
with pytest.raises(InvalidArgument):
make_strategies_namespace(mock_xp, api_version=api_version)
make_strategies_namespace(xp, api_version=api_version)

0 comments on commit 4a703af

Please sign in to comment.