Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions tests/test_module_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,17 @@ def test_transform_api(self):
continue
with self.subTest(n=n):
basename = n[:-1] # Transformd basename is Transform

# remove aliases to check, do this before the assert below so that a failed assert does skip this
for postfix in ("D", "d", "Dict"):
remained.remove(f"{basename}{postfix}")

for docname in (f"{basename}", f"{basename}d"):
if docname in to_exclude_docs:
continue
if (contents is not None) and f"`{docname}`" not in f"{contents}":
self.assertTrue(False, f"please add `{docname}` to docs/source/transforms.rst")
for postfix in ("D", "d", "Dict"):
remained.remove(f"{basename}{postfix}")

self.assertFalse(remained)


Expand Down
Loading