1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-03 09:23:47 -04:00

[test] Use pytest instead of nosetests (#482)

`nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099
and will stop working in py 3.10 as can be seen in #480
This commit is contained in:
pukkandan
2021-07-23 20:18:15 +05:30
committed by GitHub
parent 063c409dfb
commit 060ac76257
22 changed files with 95 additions and 76 deletions

View File

@@ -81,16 +81,17 @@ To run the test, simply invoke your favorite test runner, or execute a test file
python -m unittest discover
python test/test_download.py
nosetests
pytest
See item 6 of [new extractor tutorial](#adding-support-for-a-new-site) for how to run extractor specific test cases.
If you want to create a build of youtube-dl yourself, you'll need
* python
* python3
* make (only GNU make is supported)
* pandoc
* zip
* nosetests
* pytest
### Adding support for a new site