Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
sstruzik committed May 16, 2024
1 parent fb15df0 commit 5940fb5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_ods_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,17 @@ def test_categorical_with_default(self):
# UseReinsDates is a string column with a non null default, check default setting works
with tempfile.TemporaryDirectory() as tmp_run_dir:
config = {
'ri_info': base_url + '/SourceReinsInfoOEDPiWind.csv',
'use_field': True
}
'ri_info': base_url + '/SourceReinsInfoOEDPiWind.csv',
'use_field': True
}
exposure = OedExposure(**config)
exposure.ri_info.dataframe['UseReinsDates'] = None
exposure.ri_info.dataframe.to_csv(os.path.join(tmp_run_dir, 'ri_info.csv'), index=False)

exposure = OedExposure(**{
'ri_info': os.path.join(tmp_run_dir, 'ri_info.csv'),
'use_field': True
})
'ri_info': os.path.join(tmp_run_dir, 'ri_info.csv'),
'use_field': True
})
ri_scope = exposure.ri_info.dataframe
self.assertTrue(isinstance(ri_scope, pd.DataFrame))

Expand Down

0 comments on commit 5940fb5

Please sign in to comment.