Possible to run pytest.main() for arguments with wildcards. #11319
Replies: 1 comment 1 reply
-
We don't expand shell we never will as it's a White elephant Just use glob from the stdlib to expand before |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! When I try and run:
pytest.main("./*/test_internal")
I get
but when I run from the command line it passes successfully. I assume this is because the shell expands the
*
when called in the command line and this doesn't happen during pytest.main() due to its underlying structure but just wanted to check. Thanks!Beta Was this translation helpful? Give feedback.
All reactions