forked from pool/python-sphinx-autodoc-typehints
- Add patch to fix build with new sphinx
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
a093b1d73a
commit
88d4a5acf0
22
sphinx21.patch
Normal file
22
sphinx21.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 367e32cea5218af9d8df9800bde395cc285e0fad Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= <alex.gronholm@nextday.fi>
|
||||
Date: Mon, 3 Jun 2019 00:11:22 +0300
|
||||
Subject: [PATCH] Fixed tests failing on Sphinx 2.1+
|
||||
|
||||
---
|
||||
tests/test_sphinx_autodoc_typehints.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/test_sphinx_autodoc_typehints.py b/tests/test_sphinx_autodoc_typehints.py
|
||||
index b751176..d83f484 100644
|
||||
--- a/tests/test_sphinx_autodoc_typehints.py
|
||||
+++ b/tests/test_sphinx_autodoc_typehints.py
|
||||
@@ -231,7 +231,7 @@ class InnerClass
|
||||
Return type:
|
||||
"str"
|
||||
|
||||
- a_property
|
||||
+ property a_property
|
||||
|
||||
Property docstring
|
||||
|
Reference in New Issue
Block a user