We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
comments
1 parent 763a921 commit 51e445dCopy full SHA for 51e445d
tests/sample_header_test.py
@@ -7,7 +7,11 @@
7
8
9
def test_generate_headers(capsys, tmp_path):
10
- comments = pybind11_mkdoc.mkdoc_lib.extract_all([os.path.join(DIR, "sample_header_docs", "sample_header.h")])
+ comments = pybind11_mkdoc.mkdoc_lib.extract_all(
11
+ [os.path.join(DIR, "sample_header_docs", "sample_header.h")]
12
+ )
13
+ assert ['mkd_doc_RootLevelSymbol', 'mkd_doc_drake_MidLevelSymbol'] == [c[0] for c in comments]
14
+
15
output = tmp_path / "docs.h"
16
with output.open("w") as fd:
17
pybind11_mkdoc.mkdoc_lib.write_header(comments, fd)
0 commit comments