Here is an example of the correct usage: python no-style @parameterized.expand() @require_torch_multi_gpu def test_integration_foo(): This order problem doesn't exist with @pytest.mark.parametrize, you can put it first or last and it will still work.