From 5940fb5b61973e49a52871addfc907d5a2cc5911 Mon Sep 17 00:00:00 2001 From: sstruzik Date: Thu, 16 May 2024 12:11:34 +0100 Subject: [PATCH] pep8 --- tests/test_ods_package.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_ods_package.py b/tests/test_ods_package.py index a6523939..189cbe62 100644 --- a/tests/test_ods_package.py +++ b/tests/test_ods_package.py @@ -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))