Skip to content

Commit

Permalink
FIX: Update inspect_error import
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Nov 16, 2023
1 parent 12b57df commit b3f52b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migas/tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def test_inspect_error(monkeypatch, error_funcs, error, status, error_desc):
monkeypatch.setattr(sys, 'last_value', error_desc, raising=False)
monkeypatch.setattr(sys, 'last_traceback', 'Traceback...', raising=False)

from migas.helpers import _inspect_error
res = _inspect_error(error_funcs)
from migas.error import inspect_error
res = inspect_error(error_funcs)

assert res.get('status') == status
if error_desc is not None:
Expand Down

0 comments on commit b3f52b5

Please sign in to comment.