X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/7b93cea1daf2889e9ee10ca9c22a1b5124404937..ce8dda550018a59520e2d632f10d3fe5650e9d0d:/linpy/tests/libhelper.py?ds=inline diff --git a/linpy/tests/libhelper.py b/linpy/tests/libhelper.py index 7cefbb2..be14067 100644 --- a/linpy/tests/libhelper.py +++ b/linpy/tests/libhelper.py @@ -16,11 +16,12 @@ # along with LinPy. If not, see . import functools +import importlib import unittest try: - import sympy + importlib.import_module('sympy') def requires_sympy(func): @functools.wraps(func)