Skip to content

Commit 083d32a

Browse files
committed
Remove flaky dep (#1361)
* Remove flaky dep * Remove unused pytest import
1 parent 4f73391 commit 083d32a

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ADD . /auto-sklearn/
3232

3333
# Upgrade pip then install dependencies
3434
RUN pip3 install --upgrade pip
35-
RUN pip3 install pytest==4.6.* pep8 codecov pytest-cov flake8 flaky openml
35+
RUN pip3 install pytest==4.6.* pep8 codecov pytest-cov flake8 openml
3636
RUN cat /auto-sklearn/requirements.txt | xargs -n 1 -L 1 pip3 install
3737
RUN pip3 install jupyter
3838

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"mypy",
3131
"pytest-xdist",
3232
"pytest-timeout",
33-
"flaky",
3433
"openml",
3534
"pre-commit",
3635
"pytest-cov",

test/test_pipeline/components/feature_preprocessing/test_kernel_pca.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import unittest
22

3-
import pytest
4-
53
from sklearn.linear_model import RidgeClassifier
64
from autosklearn.pipeline.components.feature_preprocessing.kernel_pca import \
75
KernelPCA
@@ -25,7 +23,6 @@ def test_default_configuration_sparse(self):
2523
self.assertEqual(transformation.shape[0], original.shape[0])
2624
self.assertFalse((transformation == 0).all())
2725

28-
@pytest.mark.flaky()
2926
def test_default_configuration_classify(self):
3027
for i in range(5):
3128
X_train, Y_train, X_test, Y_test = get_dataset(dataset='digits',

0 commit comments

Comments
 (0)