8000 FIX remove broken test in test_mixture · seckcoder/scikit-learn@e9280ce · GitHub
[go: up one dir, main page]

Skip to content

Commit e9280ce

Browse files
ronwFabian Pedregosa
authored and
Fabian Pedregosa
committed
FIX remove broken test in test_mixture
1 parent d1c6e5a commit e9280ce

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

scikits/learn/tests/test_mixture.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,6 @@ def test_GMM_attributes():
169169
assert_raises(ValueError, mixture.GMM, n_states=20, cvtype='badcvtype')
170170

171171

172-
def test_GMM_fit_works_on_sequences_of_different_length():
173-
ndim = 3
174-
obs = [np.random.rand(3, ndim),
175-
np.random.rand(4, ndim),
176-
np.random.rand(5, ndim)]
177-
178-
gmm = mixture.GMM(n_states=1)
179-
# This shouldn't raise
180-
# ValueError: setting an array element with a sequence.
181-
gmm.fit(obs)
182-
183-
184172
class GMMTester():
185173
n_states = 10
186174
n_features = 4

0 commit comments

Comments
 (0)
0