#NEWLINE# @ pytest . mark . parametrize ( 'source_type' , ALL_SOURCES ) #NEWLINE# def test_spectrum_tuple_valid1( source_type ) : #NEWLINE# #INDENT# nu = np . array ( [ 1 , 2 , 3 ] ) #NEWLINE# fnu = np . array ( [ 1 , 2 , 3 ] ) #NEWLINE# s = source_type ( ) #NEWLINE# s . spectrum = ( nu , fnu )