File python-humanfriendly-no-mock.patch of Package python-humanfriendly
Index: humanfriendly-10.0/humanfriendly/tests.py =================================================================== --- humanfriendly-10.0.orig/humanfriendly/tests.py 2021-06-11 12:43:08.000000000 +0200 +++ humanfriendly-10.0/humanfriendly/tests.py 2022-03-21 13:05:02.302356424 +0100 @@ -123,7 +123,7 @@ from humanfriendly.usage import ( ) # Test dependencies. -from mock import MagicMock +from unittest.mock import MagicMock class HumanFriendlyTestCase(TestCase):