chore: drop UP045 (#33362)

Python 3.9 EOL
This commit is contained in:
Mason Daugherty
2025-10-08 21:17:53 -04:00
committed by GitHub
parent 0039b3b046
commit 31eeb50ce0
119 changed files with 1423 additions and 1504 deletions

View File

@@ -0,0 +1 @@
"""Unit tests for `langchain_exa` package."""

View File

@@ -1,3 +1,5 @@
"""Unit tests for imports in `langchain_exa`."""
from langchain_exa import __all__ # type: ignore[import-not-found, import-not-found]
EXPECTED_ALL = [
@@ -10,4 +12,5 @@ EXPECTED_ALL = [
def test_all_imports() -> None:
"""Test that all expected imports are in `__all__`."""
assert sorted(EXPECTED_ALL) == sorted(__all__)

View File

@@ -1,3 +1,5 @@
"""Standard unit tests for ExaSearchRetriever."""
import pytest
from pytest_benchmark.fixture import BenchmarkFixture # type: ignore[import-untyped]