summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-10-19 20:13:16 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2025-10-19 20:16:37 +0200
commit195836b69af24d3c10fa994fb772c5be1cf065da (patch)
tree11a8711074593e28d07e422aaf282d5d6f9903ea /tests
parenta27c2ef906ef7239d7714fe2e4adc48b2aa8a65a (diff)
[6.0.x] Refs #36005 -- Bumped minimum supported versions of docutils to 0.22.
Backport of ca3e0484ef31d13053af6a9d50667813e22fc282 from main.
Diffstat (limited to 'tests')
-rw-r--r--tests/admin_docs/test_utils.py2
-rw-r--r--tests/requirements/py3.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_docs/test_utils.py b/tests/admin_docs/test_utils.py
index 8152857263..2369fe5106 100644
--- a/tests/admin_docs/test_utils.py
+++ b/tests/admin_docs/test_utils.py
@@ -133,5 +133,5 @@ class TestUtils(AdminDocsSimpleTestCase):
)
source = "reST, `interpreted text`, default role."
markup = "<p>reST, <cite>interpreted text</cite>, default role.</p>\n"
- parts = docutils.core.publish_parts(source=source, writer_name="html4css1")
+ parts = docutils.core.publish_parts(source=source, writer="html4css1")
self.assertEqual(parts["fragment"], markup)
diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt
index 1ca26979a6..28a8ae772e 100644
--- a/tests/requirements/py3.txt
+++ b/tests/requirements/py3.txt
@@ -3,7 +3,7 @@ asgiref >= 3.9.1
argon2-cffi >= 23.1.0
bcrypt >= 4.1.1
black >= 25.1.0
-docutils >= 0.19
+docutils >= 0.22
geoip2 >= 4.8.0
jinja2 >= 2.11.0
numpy >= 1.26.0