Skip to content

Commit 75b6f61

Browse files
committed
Getting econ.db tests to pass.
1 parent 32c308d commit 75b6f61

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas_datareader/tests/test_econdb.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ def test_get_cdh_e_fos(self):
1818
assert isinstance(df, pd.DataFrame)
1919
assert df.shape == (2, 4)
2020

21-
df = df['Natural sciences']['Annual'][
21+
df = df['Annual']['Natural sciences'][
2222
['Norway', 'Poland', 'Portugal', 'Russia']]
2323

2424
exp_col = pd.MultiIndex.from_product(
2525
[['Norway', 'Poland', 'Portugal', 'Russia'],
26-
['Percentage'], ['Total']],
27-
names=['Geopolitical entity (reporting)', 'Unit of measure',
28-
'Year of graduation'])
26+
['Total'], ['Percentage']],
27+
names=['Geopolitical entity (reporting)',
28+
'Year of graduation', 'Unit of measure'])
2929
exp_idx = pd.DatetimeIndex(['2006-01-01', '2009-01-01'],
3030
name='TIME_PERIOD')
3131

0 commit comments

Comments
 (0)