forked from pool/python-Markdown
- Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=106
This commit is contained in:
14
markdown-3.0-python37.patch
Normal file
14
markdown-3.0-python37.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
tests/test_legacy.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/tests/test_legacy.py
|
||||
+++ b/tests/test_legacy.py
|
||||
@@ -28,6 +28,7 @@ warnings.simplefilter('error')
|
||||
# Except for the warnings that shouldn't
|
||||
warnings.filterwarnings('default', category=PendingDeprecationWarning)
|
||||
warnings.filterwarnings('default', category=DeprecationWarning, module='markdown')
|
||||
+warnings.filterwarnings('default', category=DeprecationWarning, module='yaml')
|
||||
|
||||
parent_test_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
Reference in New Issue
Block a user