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