By doing something like #7317 for the metrics tests.
Activity
aashil commentedon Oct 9, 2016
I am working on this one. To be clear the change needs to be made in sklearn/metrics/tests/test_common.py file, right ?