From 3b32821b3a83d971bfa910a31e1c18677a843de0 Mon Sep 17 00:00:00 2001 From: Mark Mikofski Date: Sun, 18 Oct 2026 01:27:57 -0700 Subject: [PATCH] Fix test case naming for issue #2077 - correct misnamed test and fixtures --- tests/test_spa.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_spa.py b/tests/test_spa.py index 81ae58a2a6..001dd1c28c 100644 --- a/tests/test_spa.py +++ b/tests/test_spa.py @@ -417,7 +417,7 @@ def test_solar_position_multithreaded(self): # Define extra test cases for issue #2077 -test_cases_issue_2207 = [ +test_cases_issue_2077 = [ ((2000, 1, 1, 12, 0, 0), 2451545.0), ((1999, 1, 1, 0, 0, 0), 2451179.5), ((1987, 1, 27, 0, 0, 0), 2446822.5), @@ -437,7 +437,7 @@ def test_solar_position_multithreaded(self): ] -@pytest.mark.parametrize("inputs, expected", test_cases_issue_2207) -def test_julian_day_issue_2207(inputs, expected): +@pytest.mark.parametrize("inputs, expected", test_cases_issue_2077) +def test_julian_day_issue_2077(inputs, expected): result = pvlib.spa.julian_day_dt(*inputs, microsecond=0) assert result == expected, f"Failed for inputs {inputs}"