Skip to content

Commit

Permalink
Update conftest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagsy committed Aug 16, 2023
1 parent fedc3d0 commit 8ab26fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


@pytest.fixture(autouse=True)
def run_around_tests(dev_str, compile_graph, fw):
def run_around_tests(dev_str, f, compile_graph, fw):
if "gpu" in device and fw == "numpy":
# Numpy does not support GPU
pytest.skip()
Expand Down Expand Up @@ -50,8 +50,8 @@ def pytest_generate_tests(metafunc):
for backend_str in backend_strs:
for device in devices:
for compile_graph in compile_modes:
configs.append((device, compile_graph, backend_str))
metafunc.parametrize("dev_str,compile_graph,fw", configs)
configs.append((device, None, compile_graph, backend_str))
metafunc.parametrize("dev_str,f,compile_graph,fw", configs)


def pytest_addoption(parser):
Expand Down

0 comments on commit 8ab26fc

Please sign in to comment.