#NEWLINE# @ raises ( ValueError ) #NEWLINE# def test_get_airmass_valueerror( ) : #NEWLINE# #INDENT# tus = Location ( 32.2 , ( - 111 ) , 'US/Arizona' , 700 , 'Tucson' ) #NEWLINE# times = pd . DatetimeIndex ( start = '20160101T0600-0700' , end = '20160101T1800-0700' , freq = '3H' ) #NEWLINE# clearsky = tus . get_airmass ( clearsky , model = 'invalid_model' )