summaryrefslogtreecommitdiffstats
path: root/debian/patches/docutils_manpage_macros.diff
blob: 4bf22dc45d3eda566e528933b08a881a5bef1f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Dmitry Shachnev <mitya57@debian.org>
Date: Thu, 3 Aug 2023 19:23:41 +0300
Subject: Make test_build_manpage pass with docutils 0.19+dfsg-7

I backported the change from upstream 0.21 to our 0.19 and 0.20 packaging.
---
 tests/test_build_manpage.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py
index e765644..2fc2014 100644
--- a/tests/test_build_manpage.py
+++ b/tests/test_build_manpage.py
@@ -52,7 +52,7 @@ def test_captioned_code_block(app, status, warning):
     app.builder.build_all()
     content = (app.outdir / 'python.1').read_text(encoding='utf8')
 
-    if docutils.__version_info__[:2] < (0, 21):
+    if docutils.__version_info__[:2] < (0, 19):
         expected = """\
 .sp
 caption \\fItest\\fP rb