Closed mgorny closed 2 years ago
Prefer using unittest.mock over external mock package to avoid extraneous dependencies in Python 3.3+. Install 'mock' only for older Python versions.
Coverage remained the same at 90.239% when pulling 790660a31637ad9c8f11a18a6b991a2070050ae6 on mgorny:unitest-mock into f0abd9fe6debd106c3993e09ee4175bc281ef02e on requests:master.
Prefer using unittest.mock over external mock package to avoid extraneous dependencies in Python 3.3+. Install 'mock' only for older Python versions.