17 lines
392 B
Diff
17 lines
392 B
Diff
Index: requests-mock-1.10.0/tests/test_mocker.py
|
|
===================================================================
|
|
--- requests-mock-1.10.0.orig/tests/test_mocker.py
|
|
+++ requests-mock-1.10.0/tests/test_mocker.py
|
|
@@ -13,7 +13,10 @@
|
|
import json
|
|
import pickle
|
|
|
|
-import mock
|
|
+try:
|
|
+ from unittest import mock
|
|
+except ImportError:
|
|
+ import mock
|
|
import requests
|
|
|
|
import requests_mock
|