Skip to content

Remove some low-value, slow tests #4874

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 1 commit into from
Apr 9, 2018
Merged

Remove some low-value, slow tests #4874

merged 1 commit into from
Apr 9, 2018

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Apr 9, 2018

The removed tests use real stubs and/or run Python and thus are pretty
slow to run. Most of them either test stubs in straightforward ways
(which is not very useful, since the coverage is bound to be spotty)
or some very basic functionality (which is covered by other tests).

The removals speed up the Python evaluation suite by about 25% on my
laptop (there is a high variance, though). There are probably others
that could safely be removed but I tried to be pretty conservative here.

The removed tests use real stubs and/or run Python and thus are pretty
slow to run. Most of them either test stubs in straightforward ways
(which is not very useful, since the coverage is bound to be spotty)
or some very basic functionality (which is covered by other tests).

The removals speed up the Python evaluation suite by about 25% on my
laptop (there is a high variance, though). There are probably others
that could safely be removed but I tried to be pretty conservative here.
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@JukkaL JukkaL merged commit bba51e0 into master Apr 9, 2018
@gvanrossum gvanrossum deleted the remove-tests branch April 9, 2018 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants