Skip to content

Commit

Permalink
temporal: Rename duplicate test name in unittests_temporal_raster_alg…
Browse files Browse the repository at this point in the history
…ebra.py (OSGeo#4842)

Fixes the following Pylance error: Method declaration "test_temporal_select" is obscured by a declaration of the same name
  • Loading branch information
echoix authored Dec 19, 2024
1 parent 2b88ebb commit 6930424
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,8 @@ def test_map_function2(self) -> None:
self.assertEqual(D.check_temporal_topology(), True)
self.assertEqual(D.get_granularity(), "1 day")

def test_temporal_select(self) -> None:
"""Testing the temporal select operator."""
def test_temporal_select_same_left_right(self) -> None:
"""Testing the temporal select operator with the same map for left and right."""
tra = tgis.TemporalRasterAlgebraParser(run=True, debug=True)
tra.parse(expression="R = A : A", basename="r", overwrite=True)

Expand Down

0 comments on commit 6930424

Please sign in to comment.