mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-30 06:38:50 +02:00
[cleanup] Misc (#12238)
Authored by: StefanLobbenmeier, dirkf, Grub4K Co-authored-by: Stefan Lobbenmeier <Stefan.Lobbenmeier@gmail.com> Co-authored-by: dirkf <fieldhouse@gmx.net> Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
This commit is contained in:
parent
01a63629a2
commit
4985a40417
5 changed files with 13 additions and 10 deletions
|
@ -25,7 +25,8 @@ def parse_args():
|
|||
|
||||
|
||||
def run_tests(*tests, pattern=None, ci=False):
|
||||
run_core = 'core' in tests or (not pattern and not tests)
|
||||
# XXX: hatch uses `tests` if no arguments are passed
|
||||
run_core = 'core' in tests or 'tests' in tests or (not pattern and not tests)
|
||||
run_download = 'download' in tests
|
||||
|
||||
pytest_args = args.pytest_args or os.getenv('HATCH_TEST_ARGS', '')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue