Skip to content

Commit 765dc8a

Browse files
committed
iter
1 parent 9954861 commit 765dc8a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

imblearn/tests/test_common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ def test_all_estimators():
2020
estimators = all_estimators(include_meta_estimators=True)
2121
assert len(estimators) > 0
2222
for name, Estimator in estimators:
23-
if name == 'CondensedNearestNeighbour':
24-
continue
2523
# some can just not be sensibly default constructed
2624
yield (_named_check(check_estimator, name), Estimator)
2725

imblearn/utils/testing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
META_ESTIMATORS = []
2222
# estimators that there is no way to default-construct sensibly
2323
OTHER = ["Pipeline", "FeatureUnion"]
24-
# some strange ones
25-
DONT_TEST = []
24+
# CNN leads to a segfault in Travis
25+
DONT_TEST = ['CondensedNearestNeighbour']
2626

2727

2828
def all_estimators(include_meta_estimators=False,

0 commit comments

Comments
 (0)