#NEWLINE# def test_remove( self ) : #NEWLINE# #INDENT# x = SomeClass ( 'a' ) #NEWLINE# self . s . remove ( x ) #NEWLINE# self . assertNotIn ( x , self . s ) #NEWLINE# self . assertRaises ( KeyError , self . s . remove , x ) #NEWLINE# self . assertRaises ( TypeError , self . s . remove , [ ] )