test_exported_members.py
This file
Path
tests/test_exported_members.py
13 lines · 372 bytes · Python
Last changed by
Drop private imports from test_exported_members.py (#2573)Florimond Mancabefore adoption18e0ae4
History of this fileTake it
1import httpx234def test_all_imports_are_exported() -> None:5 included_private_members = ["__description__", "__title__", "__version__"]6 assert httpx.__all__ == sorted(7 (8 member9 for member in vars(httpx).keys()10 if not member.startswith("_") or member in included_private_members11 ),12 key=str.casefold,13 )