We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the setuptools integration example in the documentation
The script will hang forever if there are no arguments passed to tox.
This is because the argument to shlex.split() is None so it waits to read from stdin.
I suggest to change the example to something like the below.
#!python def run_tests(self): import tox import shlex args = self.tox_args if args: args = shlex.split(self.tox_args) errno = tox.cmdline(args=args) sys.exit(errno)
The text was updated successfully, but these errors were encountered:
Original comment by @hpk42
fix issue233: avoid hanging with tox-setuptools integration example. Thanks simonb.
→ <<cset 7fb0ae11640d>>
Sorry, something went wrong.
No branches or pull requests
In the setuptools integration example in the documentation
The script will hang forever if there are no arguments passed to tox.
This is because the argument to shlex.split() is None so it waits to read from stdin.
I suggest to change the example to something like the below.
The text was updated successfully, but these errors were encountered: