1
0
forked from pool/python-mocket
python-mocket/python-mocket-no-mock.patch

13 lines
453 B
Diff

diff -upr mocket-3.10.5.orig/tests/main/test_http.py mocket-3.10.5/tests/main/test_http.py
--- mocket-3.10.5.orig/tests/main/test_http.py 2022-05-17 15:23:49.159143686 +0200
+++ mocket-3.10.5/tests/main/test_http.py 2022-05-17 15:23:49.163143712 +0200
@@ -10,7 +10,7 @@ from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen
-import mock
+from unittest import mock
import pytest
import requests