diff --git a/tests/test_utils_ipy.py b/tests/test_utils_ipy.py index 149219182..60a7f923a 100644 --- a/tests/test_utils_ipy.py +++ b/tests/test_utils_ipy.py @@ -14,7 +14,7 @@ def fake_ipython(): @pytest.fixture(autouse=True) def simulate_ipython(fake_ipython, monkeypatch): - monkeypatch.setattr("slic.core.device.device.get_ipython", lambda: fake_ipython) + monkeypatch.setattr("slic.utils.ipy.get_ipython", lambda: fake_ipython) return fake_ipython def test_devices_repr_fallback_and_ignore(simulate_ipython):