Skip to content
Myr

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 file

Take it

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

Use '%20' for encoding spaces in query parameters. (#2543)Tom Christiebefore adoptiona6af45e

lines 1–5why, one step back
1import httpx
234def test_all_imports_are_exported() -> None:5 included_private_members = ["__description__", "__title__", "__version__"]

Drop private imports from test_exported_members.py (#2573)Florimond Mancabefore adoption18e0ae4

line 6why, one step back
6 assert httpx.__all__ == sorted(

Use '%20' for encoding spaces in query parameters. (#2543)Tom Christiebefore adoptiona6af45e

lines 7–13why, one step back
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 )