]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Drop private imports from test_exported_members.py (#2573)
authorFlorimond Manca <florimond.manca@protonmail.com>
Thu, 9 Feb 2023 16:00:27 +0000 (17:00 +0100)
committerGitHub <noreply@github.com>
Thu, 9 Feb 2023 16:00:27 +0000 (16:00 +0000)
Co-authored-by: Tom Christie <tom@tomchristie.com>
tests/test_exported_members.py

index ca4a9ed08e4537176cff6ae25df90a0c26fcef31..8d9c8a74ca77a5a6b25e20b70a3f70e739218a96 100644 (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()