def assert_allclose_cc(actual, desired, **kw):
 try:
  assert_allclose(actual, desired, **kw)
 except:
  assert_allclose(actual, conj(desired), **kw)

def assert_allclose_cc ( actual , desired , ** kw ) : try : assert_allclose ( actual , desired , ** kw ) except : assert_allclose ( actual , conj ( desired ) , ** kw )
almost equal or complex conjugates almost equal .