<p dir="auto">ref: <a href="https://travis-ci.org/scikit-learn/scikit-learn/builds/392640200" rel="nofollow">https://travis-ci.org/scikit-learn/scikit-learn/builds/392640200</a></p>
<p dir="auto">Looks like due to pending deprecation warnings:</p>
<blockquote>
<p dir="auto">AssertionError: Got warnings when calling fit: [{message : PendingDeprecationWarning('the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.',), category : 'PendingDeprecationWarning', ...</p>
</blockquote>
<p dir="auto">We are getting many warnings like <code class="notranslate">PendingDeprecationWarning('the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.</code> using numpy master (see logs at <a href="https://travis-ci.org/scikit-learn/scikit-learn/builds/387352026" rel="nofollow">https://travis-ci.org/scikit-learn/scikit-learn/builds/387352026</a>)</p>
<p dir="auto">Apart from a very long log, this causes test failures where we have used <code class="notranslate">assert_no_warnings</code> (which we could now be importing from numpy instead of having our own implementation).</p>
<p dir="auto">It might be a good idea to remove all uses of np.matrix that raise warnings. On the other hand, we might also consider that <code class="notranslate">assert_no_warnings</code> shouldn't be bothered by <code class="notranslate">PendingDeprecationWarning</code>s.</p>