@@ -10,8 +10,10 @@ def test_build(app, status, warning):
1010 app .builder .build_all ()
1111
1212 py_undoc = (app .outdir / 'python.txt' ).read_text (encoding = 'utf8' )
13- assert py_undoc .startswith ('Undocumented Python objects\n '
14- '===========================\n ' )
13+ assert py_undoc .startswith (
14+ 'Undocumented Python objects\n '
15+ '===========================\n '
16+ )
1517 assert 'autodoc_target\n --------------\n ' in py_undoc
1618 assert ' * Class -- missing methods:\n ' in py_undoc
1719 assert ' * raises\n ' in py_undoc
@@ -23,8 +25,10 @@ def test_build(app, status, warning):
2325 assert "undocumented py" not in status .getvalue ()
2426
2527 c_undoc = (app .outdir / 'c.txt' ).read_text (encoding = 'utf8' )
26- assert c_undoc .startswith ('Undocumented C API elements\n '
27- '===========================\n ' )
28+ assert c_undoc .startswith (
29+ 'Undocumented C API elements\n '
30+ '===========================\n '
31+ )
2832 assert 'api.h' in c_undoc
2933 assert ' * Py_SphinxTest' in c_undoc
3034
@@ -54,16 +58,26 @@ def test_coverage_ignore_pyobjects(app, status, warning):
5458Statistics
5559----------
5660
57- +----------------------+----------+--------------+
58- | Module | Coverage | Undocumented |
59- +======================+==========+==============+
60- | coverage_not_ignored | 0.00% | 2 |
61- +----------------------+----------+--------------+
62- | TOTAL | 0.00% | 2 |
63- +----------------------+----------+--------------+
61+ +---------------------------+----------+--------------+
62+ | Module | Coverage | Undocumented |
63+ +===========================+==========+==============+
64+ | grog | 100.00% | 0 |
65+ +---------------------------+----------+--------------+
66+ | grog.coverage_missing | 100.00% | 0 |
67+ +---------------------------+----------+--------------+
68+ | grog.coverage_not_ignored | 0.00% | 2 |
69+ +---------------------------+----------+--------------+
70+ | TOTAL | 0.00% | 2 |
71+ +---------------------------+----------+--------------+
72+
73+ grog.coverage_missing
74+ ---------------------
6475
65- coverage_not_ignored
66- --------------------
76+ Classes:
77+ * Missing
78+
79+ grog.coverage_not_ignored
80+ -------------------------
6781
6882Classes:
6983 * Documented -- missing methods:
0 commit comments