From 28227c4db21df2ac63a222fb4a42390351db20a3 Mon Sep 17 00:00:00 2001 From: Eunkyu Han Date: Mon, 2 Dec 2024 14:38:06 -0500 Subject: [PATCH] Removing assignment to unsued variable file_data --- romanisim/tests/test_bandpass.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/romanisim/tests/test_bandpass.py b/romanisim/tests/test_bandpass.py index ba38c85..5256211 100644 --- a/romanisim/tests/test_bandpass.py +++ b/romanisim/tests/test_bandpass.py @@ -31,8 +31,8 @@ def test_read_gsfc_effarea(tmpdir_factory, sca=1): data_table['Dwarf Planet'] = ['Eris', 'Pluto', 'Makemake', 'Haumeua'] data_table.write(table_file) - with open(table_file, 'r') as tmp_file: - file_data = tmp_file.read() + # with open(table_file, 'r') as tmp_file: + # file_data = tmp_file.read() # Removing the followings as the ECSV files should start with the ECSV version # with open(table_file, 'w') as tmp_file: # tmp_file.write("Header Comment line \n" + file_data)