forked from pool/python-Markdown
- Add patch to build with python 3.7:
* markdown-2.6.11-python37.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=45
This commit is contained in:
committed by
Git OBS Bridge
parent
e0e5445fe7
commit
e3e6d37042
11
markdown-2.6.11-python37.patch
Normal file
11
markdown-2.6.11-python37.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -up Markdown-2.6.11/tests/__init__.py.orig markdown/tests/__init__.py
|
||||
--- Markdown-2.6.11/tests/__init__.py.orig 2018-06-03 10:51:55.518781537 +0000
|
||||
+++ Markdown-2.6.11/tests/__init__.py 2018-06-03 10:59:34.088350325 +0000
|
||||
@@ -185,5 +185,7 @@ def run():
|
||||
# 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')
|
||||
+ warnings.filterwarnings('default', category=DeprecationWarning, module='nose')
|
||||
|
||||
nose.main(addplugins=[HtmlOutput(), Markdown()])
|
Reference in New Issue
Block a user