File: 0002-Fix-sphinx.testing.path-deprecation-check.patch

package info (click to toggle)
sphinxcontrib-moderncmakedomain 3.29.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: python: 629; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Mon, 27 May 2024 15:20:57 +0200
Subject: Fix sphinx.testing.path deprecation check

---
 tests/conftest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/conftest.py b/tests/conftest.py
index a5c050e..df780aa 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -11,7 +11,7 @@ sphinx_vesion = tuple(int(d) for d in version("sphinx").split(".")[:2])
 
 pytest_plugins = "sphinx.testing.fixtures"
 
-if sphinx_vesion < (7, 3):
+if sphinx_vesion < (7, 2):
     from sphinx.testing.path import path
 
     @pytest.fixture(scope="session")