#NEWLINE# def test_spherical_limb_invalid4( ) : #NEWLINE# #INDENT# s = SphericalSource ( ) #NEWLINE# with pytest . raises ( ValueError ) as exc : #NEWLINE# #INDENT# s . limb = 1 #NEWLINE# #UNINDENT# assert ( exc . value . args [ 0 ] == 'limb should be a boolean value (True/False)' )