We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0719a5 + 918af99 commit 995e60eCopy full SHA for 995e60e
1 file changed
doc/en/goodpractices.rst
@@ -236,9 +236,10 @@ your own setuptools Test command for invoking pytest.
236
self.pytest_args = []
237
238
def run_tests(self):
239
+ import shlex
240
#import here, cause outside the eggs aren't loaded
241
import pytest
- errno = pytest.main(self.pytest_args)
242
+ errno = pytest.main(shlex.split(self.pytest_args))
243
sys.exit(errno)
244
245
0 commit comments