forked from pool/python-humanfriendly
Accepting request 963677 from home:pgajdos:python
- do not require mock for build - added patches fix https://github.com/xolox/python-humanfriendly/issues/62 + python-humanfriendly-no-mock.patch OBS-URL: https://build.opensuse.org/request/show/963677 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=34
This commit is contained in:
13
python-humanfriendly-no-mock.patch
Normal file
13
python-humanfriendly-no-mock.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
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):
|
||||
Reference in New Issue
Block a user