Drop private imports from test_exported_members.py (#2573)

Co-authored-by: Tom Christie <tom@tomchristie.com>
This commit is contained in:
Florimond Manca 2023-02-09 17:00:27 +01:00 committed by GitHub
parent ef06f7d076
commit 18e0ae45ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,9 @@
import httpx
from httpx import __all__ as exported_members
def test_all_imports_are_exported() -> None:
included_private_members = ["__description__", "__title__", "__version__"]
assert exported_members == sorted(
assert httpx.__all__ == sorted(
(
member
for member in vars(httpx).keys()