forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up pytest and docformatter entrypoints. (pantsbuild#11571)
The prior entrypoints do not sys.exit, they just return an int. Although PEX sys.exits if an entrypoint function returns a value of any type, The `pex` venv script does not. The venv script behavior is almost certainly correct and the circa 2011 PEX behavior is almost certainly incorrect, but this works around Pex coming to a decision on that. Fixing the pytest entrypoint revealed a prior masked failing test that is disabled for the time being.
- Loading branch information
Showing
3 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters