2 ms·
A long time ago, people would have made the exact same arguments about the `requests` library, which is today considered one of the highest quality third party
by scrollaway 10y ago
A long time ago, people would have made the exact same arguments about the `requests` library, which is today considered one of the highest quality third party libraries in Python ({{cn}}).
In fact, a lot of the arguments still apply. "urllib3 is in the stdlib, why use requests?". I can get behind that argument in specific cases, too - I have a library which uses urllib3 because it only ever needs to GET from a couple of URLs and introducing an extra dependency just for that is a hassle.
But here's the thing about tests. You want them to be clear, you want them to be easy, painless and even fun to write. pytest achieves that. unittest doesn't. If you're serious about testing, unittest will harm your project.
PS: https://leclan.ch/tabs/ https://leclan.ch/tabs/