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.
This commit is contained in:
Anselm Kruis 2022-05-16 15:45:32 +02:00
parent 36367765fe
commit 6ffe881f55

View File

@ -999,7 +999,9 @@ def test_info_field_list(app):
text = (".. py:module:: example\n" text = (".. py:module:: example\n"
".. py:class:: Class\n" ".. py:class:: Class\n"
"\n" "\n"
" :meta blah: this meta-field must not show up in the toc-tree\n"
" :param str name: blah blah\n" " :param str name: blah blah\n"
" :meta another meta field:\n"
" :param age: blah blah\n" " :param age: blah blah\n"
" :type age: int\n" " :type age: int\n"
" :param items: blah blah\n" " :param items: blah blah\n"