def assert_same_object(expected, actual):
 if (expected is not actual):
  raise AssertionError(('values not identical, expected %r, actual %r' % (expected, actual)))

def assert_same_object ( expected , actual ) : if ( expected is not actual ) : raise AssertionError ( ( 'values not identical, expected %r, actual %r' % ( expected , actual ) ) )
asserting object identity .