Skip to content
Myr

Drop private imports from test_exported_members.py (#2573)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Florimond Manca · committed by GitHub · parent ef06f7d · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

1 file+1 added−2 removed

  • tests:+1 added−2 removed

1 file+1 added−2 removed

modified:tests/test_exported_members.py+1 added-2 removed
1import httpx2from httpx import __all__ as exported_members234def test_all_imports_are_exported() -> None:5 included_private_members = ["__description__", "__title__", "__version__"]7 assert exported_members == sorted(6 assert httpx.__all__ == sorted(7 (8 member9 for member in vars(httpx).keys()10 if not member.startswith("_") or member in included_private_members
3 unmodified lines