#NEWLINE# @ pytest . mark . parametrize ( 'source_type' , SOURCES_RADIUS ) #NEWLINE# def test_radius_invalid3( source_type ) : #NEWLINE# #INDENT# s = source_type ( ) #NEWLINE# with pytest . raises ( ValueError ) as exc : #NEWLINE# #INDENT# s . radius = 'invalid' #NEWLINE# #UNINDENT# assert ( exc . value . args [ 0 ] == 'radius should be a numerical value' )