#NEWLINE# def testSingleArgUnbound( self ) : #NEWLINE# #INDENT# mock_contextmanager = mock_contextmanager_generator ( ) #NEWLINE# mock_nested = MockNested ( mock_contextmanager ) #NEWLINE# with mock_nested : #NEWLINE# #INDENT# self . assertInWithManagerInvariants ( mock_contextmanager ) #NEWLINE# self . assertInWithManagerInvariants ( mock_nested ) #NEWLINE# #UNINDENT# self . assertAfterWithManagerInvariantsNoError ( mock_contextmanager ) #NEWLINE# self . assertAfterWithManagerInvariantsNoError ( mock_nested )