File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def test_emdat_impact_event_2020(self):
144144 self .assertEqual (2000 , df ['reference_year' ].min ())
145145
146146 def test_emdat_impact_yearlysum_no_futurewarning (self ):
147- """Ensure that no FutureWarning is issued"""
147+ """Ensure that no FutureWarning about `DataFrame.append` being deprecated is issued"""
148148 with warnings .catch_warnings ():
149149 # Make sure that FutureWarning will cause an error
150150 warnings .simplefilter ("error" , category = FutureWarning )
@@ -156,6 +156,8 @@ def test_emdat_impact_yearlysum_no_futurewarning(self):
156156 reference_year = None ,
157157 imp_str = "Total Affected" ,
158158 )
159+ # TODO: pandas 2.1 will eventually raise a FutureWarning here,
160+ # but about array concatenation of empty entries. fix it!
159161
160162 def test_emdat_affected_yearlysum (self ):
161163 """test emdat_impact_yearlysum yearly impact data extraction"""
You can’t perform that action at this time.
0 commit comments