From df94d67b13b3262e2705900f2bd6d7bff6f46cfb Mon Sep 17 00:00:00 2001 From: Eddie Bergman Date: Fri, 14 Jan 2022 11:45:51 +0100 Subject: [PATCH] Fix: imports from relative to absolute (#1370) --- test/test_pipeline/components/classification/test_base.py | 2 +- .../components/feature_preprocessing/test_liblinear.py | 2 +- test/test_pipeline/components/regression/test_base.py | 2 +- test/test_pipeline/test_classification.py | 2 +- test/test_pipeline/test_regression.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_pipeline/components/classification/test_base.py b/test/test_pipeline/components/classification/test_base.py index dda507eda4..4fc381af56 100644 --- a/test/test_pipeline/components/classification/test_base.py +++ b/test/test_pipeline/components/classification/test_base.py @@ -9,7 +9,7 @@ import sklearn.metrics import numpy as np -from ...ignored_warnings import ignore_warnings, classifier_warnings +from test.test_pipeline.ignored_warnings import ignore_warnings, classifier_warnings class BaseClassificationComponentTest(unittest.TestCase): diff --git a/test/test_pipeline/components/feature_preprocessing/test_liblinear.py b/test/test_pipeline/components/feature_preprocessing/test_liblinear.py index 47465ccc8f..19b56b6eac 100644 --- a/test/test_pipeline/components/feature_preprocessing/test_liblinear.py +++ b/test/test_pipeline/components/feature_preprocessing/test_liblinear.py @@ -5,7 +5,7 @@ get_dataset import sklearn.metrics -from ...ignored_warnings import ignore_warnings, feature_preprocessing_warnings +from test.test_pipeline.ignored_warnings import ignore_warnings, feature_preprocessing_warnings class LiblinearComponentTest(PreprocessingTestCase): diff --git a/test/test_pipeline/components/regression/test_base.py b/test/test_pipeline/components/regression/test_base.py index 3186ca6e49..8ffc1d23fe 100644 --- a/test/test_pipeline/components/regression/test_base.py +++ b/test/test_pipeline/components/regression/test_base.py @@ -13,7 +13,7 @@ from autosklearn.pipeline.components.regression import _regressors, RegressorChoice -from ...ignored_warnings import regressor_warnings, ignore_warnings +from test.test_pipeline.ignored_warnings import regressor_warnings, ignore_warnings class BaseRegressionComponentTest(unittest.TestCase): diff --git a/test/test_pipeline/test_classification.py b/test/test_pipeline/test_classification.py index a98dd0884a..44caaecb9b 100644 --- a/test/test_pipeline/test_classification.py +++ b/test/test_pipeline/test_classification.py @@ -32,7 +32,7 @@ from autosklearn.pipeline.constants import \ DENSE, SPARSE, UNSIGNED_DATA, PREDICTIONS, SIGNED_DATA, INPUT -from .ignored_warnings import classifier_warnings, ignore_warnings +from test.test_pipeline.ignored_warnings import classifier_warnings, ignore_warnings class DummyClassifier(AutoSklearnClassificationAlgorithm): diff --git a/test/test_pipeline/test_regression.py b/test/test_pipeline/test_regression.py index 2a44275b25..cc52109664 100644 --- a/test/test_pipeline/test_regression.py +++ b/test/test_pipeline/test_regression.py @@ -26,7 +26,7 @@ from autosklearn.pipeline.util import get_dataset from autosklearn.pipeline.constants import SPARSE, DENSE, SIGNED_DATA, UNSIGNED_DATA, PREDICTIONS -from .ignored_warnings import regressor_warnings, ignore_warnings +from test.test_pipeline.ignored_warnings import regressor_warnings, ignore_warnings class SimpleRegressionPipelineTest(unittest.TestCase):