scikit-learn/scikit-learn — pull request #1092 by amueller (2012-08-31 22:35:52+00:00)
Title: Robust int test

Replaces ``isinstance(x, int)`` with ``isinstance(x, (int, np.integer))`` - and same for float in two places.
This makes it invariant wrt int32/int64.