File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ def test_fooof_load():
187187 # Test that settings and data are None
188188 # Except for aperiodic mode, which can be inferred from the data
189189 for setting in OBJ_DESC ['settings' ]:
190- if setting is not 'aperiodic_mode' :
190+ if setting != 'aperiodic_mode' :
191191 assert getattr (tfm , setting ) is None
192192 assert getattr (tfm , 'power_spectrum' ) is None
193193
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ def test_fg_load():
247247 # Test that settings and data are None
248248 # Except for aperiodic mode, which can be inferred from the data
249249 for setting in OBJ_DESC ['settings' ]:
250- if setting is not 'aperiodic_mode' :
250+ if setting != 'aperiodic_mode' :
251251 assert getattr (tfg , setting ) is None
252252 assert tfg .power_spectra is None
253253
You can’t perform that action at this time.
0 commit comments