Back to problems

Requests Library Debug (BugSquash)

AI Coding · Stripe · Hard

Requirements You get a checkout of a widely used Python HTTP library with defects deliberately introduced into it. Run the suite, work out what each failure is telling you, and fix the library. repo/src/requests is the library, repo/src/urllib3 and repo/src/charset_normalizer are vendored dependencies, and repo/conftest.py puts src/ on sys.path -- there is no install step and nothing is downloaded. cd repo && python -m pytest tests -q -p no:cacheprovider runs 262 tests, 8 of…

Checking your access…