Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Distribute the tests #94

Merged
merged 1 commit into from Feb 9, 2019
Merged

Distribute the tests #94

merged 1 commit into from Feb 9, 2019

Conversation

mr-c
Copy link
Contributor

@mr-c mr-c commented Feb 9, 2019

Patch from the Debian package for typed_ast, we use this to run the tests at build time and post-install. With this PR typed_ast users can also run the tests post-install and from any directory:

python -m pytest --pyargs typed_ast

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.

Sure, sounds fine.

@gvanrossum gvanrossum merged commit 33209c4 into python:master Feb 9, 2019
@mr-c mr-c deleted the distribute_tests branch February 9, 2019 16:29
@stanislavlevin
Copy link

@mr-c, @gvanrossum, JFYI:
in many distros docs, tests, etc. are not packaged since they are useless for most of the users. The testing in turn, is performed during the build, for doing that we don't need to move tests out to its own Python package.
So, as of this change, I have to remove tests from the distro's Python package.

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

Successfully merging this pull request may close these issues.

None yet

4 participants