Skip to content

Commit

Permalink
Add test to remember removing the deprecation decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
echedey-ls committed Oct 2, 2024
1 parent 1fdecb2 commit 65e144b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pvlib/tests/test_solarposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
import numpy as np
import pandas as pd

from .conftest import assert_frame_equal, assert_series_equal
from .conftest import (
assert_frame_equal,
assert_series_equal,
fail_on_pvlib_version,
)
from numpy.testing import assert_allclose
import pytest

Expand Down Expand Up @@ -711,6 +715,12 @@ def test_hour_angle():
solarposition._local_times_from_hours_since_midnight(times, hours)


@fail_on_pvlib_version('0.12')
def test_hour_angle_renamed_kwarg_warning():
# test to remember to remove renamed_kwarg_warning
pass


def test_sun_rise_set_transit_geometric(expected_rise_set_spa, golden_mst):
"""Test geometric calculations for sunrise, sunset, and transit times"""
times = expected_rise_set_spa.index
Expand Down

0 comments on commit 65e144b

Please sign in to comment.