8000 BUG update test for SVMs raising ValueError for coef_ · seckcoder/scikit-learn@5745b2e · GitHub
[go: up one dir, main page]

Skip to content

Commit 5745b2e

Browse files
committed
BUG update test for SVMs raising ValueError for coef_
1 parent 070007f commit 5745b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/svm/tests/test_svm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_oneclass():
179179
assert_array_almost_equal(clf.dual_coef_,
180180
[[0.632, 0.233, 0.633, 0.234, 0.632, 0.633]],
181181
decimal=3)
182-
assert_raises(NotImplementedError, lambda: clf.coef_)
182+
assert_raises(ValueError, lambda: clf.coef_)
183183

184184

185185
def test_tweak_params():

0 commit comments

Comments
 (0)
0