python-sphinx-autodoc-typeh.../sphinx21.patch

23 lines
726 B
Diff

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