Skip to content
Myr

test_exported_members.py

This file

Path

tests/test_exported_members.py

14 lines · 421 bytes · Python

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 65b69fa point at it.

Fix typo in CHANGELOG (#1337)Tom Christiebefore adoption65b69fa

lines 1–14why, one step back
1import httpx
2from httpx import __all__ as exported_members345def test_all_imports_are_exported() -> None:6 included_private_members = ["__description__", "__title__", "__version__"]7 assert exported_members == sorted(8 (9 member10 for member in vars(httpx).keys()11 if not member.startswith("_") or member in included_private_members12 ),13 key=str.casefold,14 )