Skip to content

Commit

Permalink
TST: TestYahooOptions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback committed Aug 21, 2014
1 parent 52a032a commit 8dc3c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/io/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ def _get_expiry_months(self):
try:
links = root.xpath('.//*[@id="yfncsumtab"]')[0].xpath('.//a')
except IndexError:
return RemoteDataError('Expiry months not available')
raise RemoteDataError('Expiry months not available')

month_gen = (element.attrib['href'].split('=')[-1]
for element in links
Expand Down

0 comments on commit 8dc3c19

Please sign in to comment.