[MRG + 1] Make common metric tests look nicer#7620
[MRG + 1] Make common metric tests look nicer#7620TomDLT merged 1 commit intoscikit-learn:masterfrom
Conversation
* Change the tests to yield after performing the _named_check. * Tests affected: -test_averaging_multiclass -test_averaging_multilabel -test_averaging_multilabel_all_zeroes -test_averaging_multilabel_all_ones -test_sample_weight_invariance * File updated: sklearn/metrics/tests/test_common.py
fbf86be to
fac2708
Compare
|
Looks good so far but I think you missed some yields. |
|
@amueller I left them intentionally since they already have clean and nice looking output. What say ? |
|
ok :) |
|
Tested locally. LGTM. Thanks :) |
|
@amueller Thanks. On a side note, what is the meaning of [MRG + 1] ? |
|
http://scikit-learn.org/dev/developers/contributing.html#contributing-pull-requests |
|
@jnothman I changed the title of PR to +2 assuming RPGOne is a core developer and that he forgot to change the title. Not sure if he is a core developer. |
|
@aashil no he is spamming and / or a bot. |
|
Can one more core developer please review this PR ? Thanks. |
* Change the tests to yield after performing the _named_check. * Tests affected: -test_averaging_multiclass -test_averaging_multilabel -test_averaging_multilabel_all_zeroes -test_averaging_multilabel_all_ones -test_sample_weight_invariance * File updated: sklearn/metrics/tests/test_common.py
* Change the tests to yield after performing the _named_check. * Tests affected: -test_averaging_multiclass -test_averaging_multilabel -test_averaging_multilabel_all_zeroes -test_averaging_multilabel_all_ones -test_sample_weight_invariance * File updated: sklearn/metrics/tests/test_common.py
* Change the tests to yield after performing the _named_check. * Tests affected: -test_averaging_multiclass -test_averaging_multilabel -test_averaging_multilabel_all_zeroes -test_averaging_multilabel_all_ones -test_sample_weight_invariance * File updated: sklearn/metrics/tests/test_common.py
* Change the tests to yield after performing the _named_check. * Tests affected: -test_averaging_multiclass -test_averaging_multilabel -test_averaging_multilabel_all_zeroes -test_averaging_multilabel_all_ones -test_sample_weight_invariance * File updated: sklearn/metrics/tests/test_common.py
Reference Issue
Fixes #7369
What does this implement/fix? Explain your changes.
Any other comments?
Tests affected:
-test_averaging_multiclass
-test_averaging_multilabel
-test_averaging_multilabel_all_zeroes
-test_averaging_multilabel_all_ones
-test_sample_weight_invariance
File updated: sklearn/metrics/tests/test_common.py