File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -382,3 +382,5 @@ Bug Fixes
382
382
383
383
384
384
- Bug in operator equal on Index not being consistent with Series (:issue:`9947`)
385
+
386
+ - Reading "famafrench" data via ``DataReader`` results in HTTP 404 error because of the website url is changed (:issue:`10591`).
Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ def fetch_data(url, name):
504
504
505
505
def get_data_famafrench (name ):
506
506
# path of zip files
507
- zip_file_path = '{0}/{1}.zip' .format (_FAMAFRENCH_URL , name )
507
+ zip_file_path = '{0}/{1}_TXT .zip' .format (_FAMAFRENCH_URL , name )
508
508
509
509
with urlopen (zip_file_path ) as url :
510
510
raw = url .read ()
Original file line number Diff line number Diff line change @@ -481,8 +481,6 @@ def test_read_famafrench(self):
481
481
for name in ("F-F_Research_Data_Factors" ,
482
482
"F-F_Research_Data_Factors_weekly" , "6_Portfolios_2x3" ,
483
483
"F-F_ST_Reversal_Factor" , "F-F_Momentum_Factor" ):
484
- raise nose .SkipTest ('getting 404 errors as of 7/15/15' )
485
-
486
484
ff = DataReader (name , "famafrench" )
487
485
self .assertTrue (ff is not None )
488
486
self .assertIsInstance (ff , dict )
You can’t perform that action at this time.
0 commit comments