Update tests/test_utils_ipy.py
Run CI Tests / test (push) Successful in 55s

This commit is contained in:
2025-08-03 22:06:28 +02:00
parent 5aa940837f
commit 9b2f6c3149
+1 -1
View File
@@ -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):