mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-08 12:31:49 +00:00
community[patch]: Clean up logic in import checking unit test (#22026)
Clean up unit test
This commit is contained in:
parent
d8a1f1114d
commit
8d82160a8a
@ -77,10 +77,6 @@ def test_no_dynamic__all__() -> None:
|
|||||||
"""
|
"""
|
||||||
bad_definitions = []
|
bad_definitions = []
|
||||||
for path in glob.glob(ALL_COMMUNITY_GLOB):
|
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"):
|
if not path.endswith("__init__.py"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user