From 6ffe881f55939d2ee3b67b0ace09e9255199ea60 Mon Sep 17 00:00:00 2001 From: Anselm Kruis Date: Mon, 16 May 2022 15:45:32 +0200 Subject: [PATCH] Test for issue #10456: removing meta-fields Add two meta-fields to an appropriate test case. Currently the test fails, because of bug #10456. The next commit fixes the issue. --- tests/test_domain_py.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py index 61f595c23..014067e84 100644 --- a/tests/test_domain_py.py +++ b/tests/test_domain_py.py @@ -999,7 +999,9 @@ def test_info_field_list(app): text = (".. py:module:: example\n" ".. py:class:: Class\n" "\n" + " :meta blah: this meta-field must not show up in the toc-tree\n" " :param str name: blah blah\n" + " :meta another meta field:\n" " :param age: blah blah\n" " :type age: int\n" " :param items: blah blah\n"