]> CRI, Mines Paris - PSL - linpy.git/blobdiff - pypol/tests/libhelper.py
Rename pypol into LinPy
[linpy.git] / pypol / tests / libhelper.py
diff --git a/pypol/tests/libhelper.py b/pypol/tests/libhelper.py
deleted file mode 100644 (file)
index e75b4fb..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-import functools
-import unittest
-
-try:
-
-    import sympy
-
-    def requires_sympy(func):
-        @functools.wraps(func)
-        def wrapper(self):
-            return func(self)
-        return wrapper
-
-except ImportError:
-
-    def requires_sympy(func):
-        @functools.wraps(func)
-        def wrapper(self):
-            raise unittest.SkipTest('SymPy is not available')
-        return wrapper