You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-schema/python-schema-mock.patch

13 lines
450 B

diff -up schema-0.7.5/test_schema.py.mock schema-0.7.5/test_schema.py
--- schema-0.7.5/test_schema.py.mock 2021-12-01 13:42:14.000000000 -0700
+++ schema-0.7.5/test_schema.py 2022-02-10 20:13:34.264048653 -0700
@@ -10,7 +10,7 @@ from collections import defaultdict, nam
from functools import partial
from operator import methodcaller
-from mock import Mock
+from unittest.mock import Mock
from pytest import mark, raises
from schema import (