- Add patch pytest9.patch:
* Balanced on top of the other 2 pytest patches, support pytest 9 changes. - Use autosetup macro. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=61
This commit is contained in:
13
python-html5lib-no-mock.patch
Normal file
13
python-html5lib-no-mock.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: html5lib-1.1/html5lib/tests/test_meta.py
|
||||
===================================================================
|
||||
--- html5lib-1.1.orig/html5lib/tests/test_meta.py 2020-06-23 01:23:02.000000000 +0200
|
||||
+++ html5lib-1.1/html5lib/tests/test_meta.py 2022-03-21 14:42:19.011204038 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
from __future__ import absolute_import, division, unicode_literals
|
||||
|
||||
import six
|
||||
-from mock import Mock
|
||||
+from unittest.mock import Mock
|
||||
|
||||
from . import support
|
||||
|
||||
Reference in New Issue
Block a user