1 parent 8050116 commit f05ca0bCopy full SHA for f05ca0b
1 file changed
spectrafit/test/test_models.py
@@ -1,11 +1,10 @@
1
"""Pytest of the model-module."""
2
3
-from collections.abc import Callable
4
from math import isclose
5
from math import log
6
from math import pi
7
from math import sqrt
8
-from typing import Any
+from typing import TYPE_CHECKING, Any
9
from typing import Dict
10
from typing import Tuple
11
@@ -24,6 +23,9 @@
24
23
from spectrafit.models import SolverModels
25
from spectrafit.models import calculated_model
26
+if TYPE_CHECKING:
27
+ from collections.abc import Callable
28
+
29
30
def assert_solver_models(mp: Tuple[Minimizer, Any]) -> None:
31
"""Assert SolverModels."""
0 commit comments