gabrielfalcao / HTTPretty

Intercept HTTP requests at the Python socket level. Fakes the whole socket module
https://httpretty.readthedocs.org
MIT License
2.11k stars 276 forks source link

Switch to unittest.mock everywhere #452

Open s-t-e-v-e-n-k opened 2 years ago

s-t-e-v-e-n-k commented 2 years ago

Since the lowest supported version of Python has included unittest.mock for a long while, let's switch to it everywhere, and drop the now unneeded tests.compat module.