python-Markdown/markdown-3.0-python37.patch
Tomáš Chvátal ef891ff219 Accepting request 643259 from home:benoit_monin:branches:devel:languages:python
- update to version 3.0: major release
- update and adapt the patch for python-3.7
- run the tests via unittest discover
- remove nose from BuildRequires: not used anymore

OBS-URL: https://build.opensuse.org/request/show/643259
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=47
2018-10-19 19:47:18 +00:00

11 lines
515 B
Diff

--- Markdown-3.0/tests/test_legacy.py.orig 2018-10-18 20:59:01.521952070 +0200
+++ Markdown-3.0/tests/test_legacy.py 2018-10-18 20:59:20.746395446 +0200
@@ -29,6 +29,7 @@
# 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__))