File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pandas_datareader/tests/yahoo Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,14 +203,14 @@ def test_get_data_yahoo_actions(self):
203
203
204
204
actions = web .get_data_yahoo_actions ('BHP.AX' , start , end )
205
205
206
- assert sum (actions ['action' ] == 'DIVIDEND' ) == 20
206
+ assert sum (actions ['action' ] == 'DIVIDEND' ) == 21
207
207
assert sum (actions ['action' ] == 'SPLIT' ) == 1
208
208
209
209
assert actions .loc ['1995-05-11' , 'action' ][0 ] == 'SPLIT'
210
210
assert actions .loc ['1995-05-11' , 'value' ][0 ] == 1 / 1.1
211
211
212
212
assert actions .loc ['1993-05-10' , 'action' ][0 ] == 'DIVIDEND'
213
- assert actions .loc ['1993-05-10' , 'value' ][0 ] == 0.3
213
+ assert actions .loc ['1993-05-10' , 'value' ][0 ] == 0.21
214
214
215
215
def test_get_data_yahoo_actions_invalid_symbol (self ):
216
216
start = datetime (1990 , 1 , 1 )
You can’t perform that action at this time.
0 commit comments