Skip to content
Snippets Groups Projects
Commit 0f9bc723 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fixup: pytest.skip must be pytest.mark.skipif for conditional skip

parent 92db4264
Branches
Tags
No related merge requests found
...@@ -164,7 +164,8 @@ def test_execute_torch(): ...@@ -164,7 +164,8 @@ def test_execute_torch():
assert op_cpp is not None assert op_cpp is not None
@pytest.skip('NO_GPU_EXECUTION' in os.environ, reason='Skip GPU execution tests') @pytest.mark.skipif('NO_GPU_EXECUTION' in os.environ, reason='Skip GPU execution tests')
def test_execute_torch_gpu(): def test_execute_torch_gpu():
x, y = pystencils.fields('x, y: float64[32,32]') x, y = pystencils.fields('x, y: float64[32,32]')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment