forked from pool/python-Babel
Accepting request 830007 from home:mcalabkova:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/830007 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=51
This commit is contained in:
committed by
Git OBS Bridge
parent
14a57cca27
commit
4d736bc6df
13
pytest6.patch
Normal file
13
pytest6.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: Babel-2.8.0/conftest.py
|
||||
===================================================================
|
||||
--- Babel-2.8.0.orig/conftest.py
|
||||
+++ Babel-2.8.0/conftest.py
|
||||
@@ -8,4 +8,7 @@ babel_path = local(__file__).dirpath().j
|
||||
def pytest_collect_file(path, parent):
|
||||
if babel_path.common(path) == babel_path:
|
||||
if path.ext == ".py":
|
||||
- return DoctestModule(path, parent)
|
||||
+ try:
|
||||
+ return DoctestModule.from_parent(parent, fspath=path)
|
||||
+ except AttributeError:
|
||||
+ return DoctestModule(path, parent)
|
||||
Reference in New Issue
Block a user