scikit-learn/scikit-learn — pull request #1465 by AWinterman (2012-12-11 23:00:57+00:00)
Title: Issue #1017

Since the last comment in the discussion of Issue #1017 is from over 4 months ago, and this fix is so simple, I went ahead and had a look myself. I also made the indentation on cross_validation.py pep8.

I removed the test for the error. I wasn't sure if it's possible to test for a warning, so currently this behavior is not checked.