From 39aff3eecbfa0716eec876c42012b6d7c34a97f5 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 6 May 2026 19:55:25 +0000 Subject: [PATCH] fix(charts): add return type annotation to test function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Address CodeAnt AI review comment — add explicit -> None return type annotation to test_extract_dataframe_dtypes_with_duplicate_columns. Co-Authored-By: Claude Opus 4.6 --- tests/unit_tests/utils/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/utils/test_core.py b/tests/unit_tests/utils/test_core.py index 065764efd32..3cafd48e258 100644 --- a/tests/unit_tests/utils/test_core.py +++ b/tests/unit_tests/utils/test_core.py @@ -1830,7 +1830,7 @@ def test_sanitize_cookie_token_rejects_invalid(token: Optional[str]) -> None: assert sanitize_cookie_token(token) is None -def test_extract_dataframe_dtypes_with_duplicate_columns(): +def test_extract_dataframe_dtypes_with_duplicate_columns() -> None: """extract_dataframe_dtypes should not crash on duplicate column names.""" df = pd.DataFrame([[1, 2, 3]], columns=["a", "b", "a"]) result = extract_dataframe_dtypes(df)