8000 [MRG+1] TST fix generated test names by jnothman · Pull Request #7412 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG+1] TST fix generated test names #7412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 20, 2016

Conversation

jnothman
Copy link
Member

An adjustment to #7317. Will show correct estimator names, where old version repeatedly overwrote an attribute on a function, leading to issues with execution order.

@jnothman jnothman force-pushed the fix_test_descriptions branch from deea41f to 0d0b484 Compare September 13, 2016 13:25
@amueller
Copy link
Member

Do you also wanna include the fix from #7348?

@amueller
Copy link
Member

LGTM

@amueller amueller changed the title [MRG] TST fix generated test names [MRG + 1] TST fix generated test names Sep 13, 2016
@jnothman
Copy link
Member Author

I'm cleaning this all up.

@jnothman jnothman force-pushed the fix_test_descriptions branch from c7402f6 to 1578edd Compare September 14, 2016 01:11
@jnothman jnothman changed the title [MRG + 1] TST fix generated test names [MRG] TST fix generated test names Sep 14, 2016
@amueller
Copy link
Member

sweet. +1

@jnothman jnothman changed the title [MRG] TST fix generated test names [MRG+1] TST fix generated test names Sep 15, 2016
@jnothman
Copy link
Member Author

I wonder if this could more neatly be written as a decorator applied to each check. If so, should i hedge my bets and make named_check private for now?

@amueller
Copy link
Member

I don't think it can be done as a decorator. Private would still be good, though, in particular if we're moving away from nose soonish.

@jnothman
Copy link
Member Author

I think it can be done as a decorator, but i'll make the change to underscored.

@jnothman
Copy link
Member Author

done

@NelleV NelleV merged commit 46d337b into scikit-learn:master Sep 20, 2016
@NelleV
Copy link
Member
NelleV commented Sep 20, 2016

Thanks! This is much nicer than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0