From f450d124c1ece9cd5b606741792886cb1c737547 Mon Sep 17 00:00:00 2001 From: JG <67888047+juliagsy@users.noreply.github.com> Date: Wed, 16 Aug 2023 10:59:48 +0800 Subject: [PATCH] Update conftest.py --- conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index f10c5f2..a65fa04 100644 --- a/conftest.py +++ b/conftest.py @@ -13,7 +13,7 @@ @pytest.fixture(autouse=True) def run_around_tests(dev_str, f, compile_graph, fw): - if "gpu" in device and fw == "numpy": + if "gpu" in dev_str and fw == "numpy": # Numpy does not support GPU pytest.skip() with ivy.utils.backend.ContextManager(fw):