From 8d82160a8ac46d80a0e50905042328cf0a0d38c1 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Wed, 22 May 2024 11:30:10 -0400 Subject: [PATCH] community[patch]: Clean up logic in import checking unit test (#22026) Clean up unit test --- libs/community/tests/unit_tests/test_imports.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/community/tests/unit_tests/test_imports.py b/libs/community/tests/unit_tests/test_imports.py index 2d265c82b8c..0819c2de498 100644 --- a/libs/community/tests/unit_tests/test_imports.py +++ b/libs/community/tests/unit_tests/test_imports.py @@ -77,10 +77,6 @@ def test_no_dynamic__all__() -> None: """ bad_definitions = [] for path in glob.glob(ALL_COMMUNITY_GLOB): - relative_path = Path(path).parts[-1] - if relative_path.endswith(".typed"): - continue - if not path.endswith("__init__.py"): continue