Skip to content

Commit

Permalink
Test for issue sphinx-doc#10456: removing meta-fields
Browse files Browse the repository at this point in the history
Add two meta-fields to an appropriate test case.
Currently the test fails, because of bug sphinx-doc#10456.
The next commit fixes the issue.
  • Loading branch information
Anselm Kruis committed May 16, 2022
1 parent 3636776 commit 6ffe881
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_domain_py.py
Expand Up @@ -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"
Expand Down

0 comments on commit 6ffe881

Please sign in to comment.