#NEWLINE# def test_ntsc_argument_is_not_a_bool_value( self ) : #NEWLINE# #INDENT# 'testing if a TypeError will be raised when the ntsc argument is not\n        a bool\n        ' #NEWLINE# with self . assertRaises ( TypeError ) as cm : #NEWLINE# #INDENT# r = Rate ( ntsc = 'not a bool value' ) #NEWLINE# #UNINDENT# self . assertEqual ( str ( r . exception ) , 'Rate.ntsc should be a bool value, not str' )