diff --git a/smt/tests/test_all.py b/smt/tests/test_all.py index 72eeb8038..72856c1a8 100644 --- a/smt/tests/test_all.py +++ b/smt/tests/test_all.py @@ -13,7 +13,7 @@ from collections import OrderedDict from smt.problems import TensorProduct -from smt.sampling_methods import LHS, FullFactorial +from smt.sampling_methods import LHS from smt.utils.sm_test_case import SMTestCase from smt.utils.silence import Silence @@ -26,7 +26,6 @@ KPLSK, GEKPLS, GENN, - MGP, DesignSpace, ) diff --git a/smt/tests/test_array_outputs.py b/smt/tests/test_array_outputs.py index 88b68ded3..9a9c4d65e 100644 --- a/smt/tests/test_array_outputs.py +++ b/smt/tests/test_array_outputs.py @@ -3,10 +3,8 @@ from smt.utils.sm_test_case import SMTestCase from smt.utils.silence import Silence -from smt.surrogate_models import QP, KRG from smt.examples.rans_crm_wing.rans_crm_wing import ( get_rans_crm_wing, - plot_rans_crm_wing, ) diff --git a/smt/tests/test_derivs.py b/smt/tests/test_derivs.py index 94191dd7c..5408bdd1d 100644 --- a/smt/tests/test_derivs.py +++ b/smt/tests/test_derivs.py @@ -21,7 +21,7 @@ from smt.applications import MFK try: - from smt.surrogate_models import IDW, RBF, RMTC, RMTB + from smt.surrogate_models import RBF, RMTC, RMTB COMPILED_AVAILABLE = True except ImportError: diff --git a/smt/tests/test_extrap.py b/smt/tests/test_extrap.py index b27c3c1e5..d2edec150 100644 --- a/smt/tests/test_extrap.py +++ b/smt/tests/test_extrap.py @@ -6,11 +6,10 @@ import numpy as np import unittest -import inspect from collections import OrderedDict -from smt.problems import Sphere, TensorProduct +from smt.problems import Sphere from smt.sampling_methods import LHS from smt.utils.design_space import DesignSpace @@ -18,7 +17,7 @@ from smt.utils.silence import Silence try: - from smt.surrogate_models import IDW, RBF, RMTC, RMTB + from smt.surrogate_models import RMTC, RMTB COMPILED_AVAILABLE = True except ImportError: diff --git a/smt/tests/test_high_dim.py b/smt/tests/test_high_dim.py index f91bb02ca..9732c730f 100644 --- a/smt/tests/test_high_dim.py +++ b/smt/tests/test_high_dim.py @@ -20,7 +20,7 @@ from smt.surrogate_models import LS, QP, KPLS, KRG try: - from smt.surrogate_models import IDW, RBF, RMTC, RMTB + from smt.surrogate_models import IDW, RBF COMPILED_AVAILABLE = True except ImportError: diff --git a/smt/tests/test_kpls_auto.py b/smt/tests/test_kpls_auto.py index 5bab3b437..f508063cd 100644 --- a/smt/tests/test_kpls_auto.py +++ b/smt/tests/test_kpls_auto.py @@ -4,10 +4,8 @@ This package is distributed under New BSD license. """ -import numpy as np import unittest import inspect -from sys import platform from collections import OrderedDict