X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/23922aa39e585f1e6b11f3479da002c92bebf2a1..d585b06ccf67b2837519f4b48c6800dcdb924d9d:/linpy/tests/libhelper.py 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)