Skip to content

Commit 65e144b

Browse files
committed
Add test to remember removing the deprecation decorator
1 parent 1fdecb2 commit 65e144b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pvlib/tests/test_solarposition.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
import numpy as np
66
import pandas as pd
77

8-
from .conftest import assert_frame_equal, assert_series_equal
8+
from .conftest import (
9+
assert_frame_equal,
10+
assert_series_equal,
11+
fail_on_pvlib_version,
12+
)
913
from numpy.testing import assert_allclose
1014
import pytest
1115

@@ -711,6 +715,12 @@ def test_hour_angle():
711715
solarposition._local_times_from_hours_since_midnight(times, hours)
712716

713717

718+
@fail_on_pvlib_version('0.12')
719+
def test_hour_angle_renamed_kwarg_warning():
720+
# test to remember to remove renamed_kwarg_warning
721+
pass
722+
723+
714724
def test_sun_rise_set_transit_geometric(expected_rise_set_spa, golden_mst):
715725
"""Test geometric calculations for sunrise, sunset, and transit times"""
716726
times = expected_rise_set_spa.index

0 commit comments

Comments
 (0)