1
0
mirror of https://github.com/httpie/cli.git synced 2025-06-23 00:37:52 +02:00

Replace usage of mock with unittest.mock (#1054)

Since Python 3, the mock dependency is no more required as
it is already part of the unittest module.
This commit is contained in:
Mickaël Schoentgen
2021-04-30 15:08:27 +02:00
committed by GitHub
parent 611bcdaab1
commit 1274d869f6
9 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
import mock
from unittest import mock
from pytest import raises
from requests import Request
from requests.exceptions import ConnectionError