Skip to content
Snippets Groups Projects
Commit 5da10cbf authored by Bert Palm's avatar Bert Palm 🎇
Browse files

fix filterwarnings: in windows longlong_scalar instead of long_scalar is used...

parent 5a9b20ef
No related branches found
No related tags found
5 merge requests!685Release 2.4,!684Release 2.4,!567Release 2.2.1,!566Release 2.2,!559fix filterwarnings: in windows longlong_scalar instead of long_scalar is used...
......@@ -27,8 +27,12 @@ def test__eq__(left, right):
assert res == exp
@pytest.mark.filterwarnings("ignore: invalid value encountered in long_scalars")
@pytest.mark.filterwarnings("ignore: divide by zero encountered in long_scalars")
@pytest.mark.filterwarnings(
"ignore: invalid value encountered in .*_scalars", category=RuntimeWarning
)
@pytest.mark.filterwarnings(
"ignore: divide by zero encountered in .*_scalars", category=RuntimeWarning
)
@pytest.mark.parametrize("left", diosFromMatr(DATA_ALIGNED))
@pytest.mark.parametrize("right", diosFromMatr(DATA_ALIGNED))
@pytest.mark.parametrize("op", OP2)
......@@ -47,8 +51,12 @@ def test__op2__aligningops(left, right, op):
assert res == exp
@pytest.mark.filterwarnings("ignore: invalid value encountered in long_scalars")
@pytest.mark.filterwarnings("ignore: divide by zero encountered in long_scalars")
@pytest.mark.filterwarnings(
"ignore: invalid value encountered in .*_scalars", category=RuntimeWarning
)
@pytest.mark.filterwarnings(
"ignore: divide by zero encountered in .*_scalars", category=RuntimeWarning
)
@pytest.mark.parametrize("left", diosFromMatr(DATA_UNALIGNED))
@pytest.mark.parametrize("right", diosFromMatr(DATA_UNALIGNED))
@pytest.mark.parametrize("op", OPNOCOMP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment