#NEWLINE# def test_release_unacquired( self ) : #NEWLINE# #INDENT# sem = self . semtype ( ) #NEWLINE# self . assertRaises ( ValueError , sem . release ) #NEWLINE# sem . acquire ( ) #NEWLINE# sem . release ( ) #NEWLINE# self . assertRaises ( ValueError , sem . release )