You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-12-01 23:03:25 +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:
committed by
GitHub
parent
611bcdaab1
commit
1274d869f6
@@ -1,4 +1,4 @@
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from httpie.status import ExitStatus
|
||||
from utils import MockEnvironment, http, HTTP_OK
|
||||
|
||||
Reference in New Issue
Block a user