Skip to content

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.

3 participants