15
0
Files
python-humanfriendly/python-humanfriendly-no-mock.patch
Steve Kowalik 446e4b0b82 - Add patch support-python-313.patch:
* No longer use now-removed pipes module.
- Remove Python 2 leftovers.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=42
2024-10-30 02:58:53 +00:00

14 lines
476 B
Diff

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):