fix(charts): add return type annotation to test function

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 <noreply@anthropic.com>
This commit is contained in:
Maxime Beauchemin
2026-05-06 19:55:25 +00:00
committed by yousoph
parent 8bc22ba0b8
commit 39aff3eecb

View File

@@ -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)