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

This commit is contained in:
2025-08-04 02:09:00 +02:00
parent 343c24bf35
commit adbd7dcd28
-2
View File
@@ -7,7 +7,6 @@ import types
@pytest.fixture(scope="module")
def fake_ipython():
"""Fixture module-scoped pour simuler IPython"""
class FakeIPython:
def __init__(self):
self.user_ns = {}
@@ -15,7 +14,6 @@ def fake_ipython():
@pytest.fixture(autouse=True)
def simulate_ipython(fake_ipython, monkeypatch):
"""Configure le mock IPython avant chaque test"""
monkeypatch.setattr("slic.utils.ipy.get_ipython", lambda: fake_ipython)
return fake_ipython