X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/blobdiff_plain/7b93cea1daf2889e9ee10ca9c22a1b5124404937..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)