def test_inequalities_symbol_name_same_complex():
 for a in (x, S(0), (S(1) / 3), pi, oo):
  raises(TypeError, (lambda : Gt(a, I)))
  raises(TypeError, (lambda : (a > I)))
  raises(TypeError, (lambda : Lt(a, I)))
  raises(TypeError, (lambda : (a < I)))
  raises(TypeError, (lambda : Ge(a, I)))
  raises(TypeError, (lambda : (a >= I)))
  raises(TypeError, (lambda : Le(a, I)))
  raises(TypeError, (lambda : (a <= I)))

def test_inequalities_symbol_name_same_complex ( ) : for a in ( x , S ( 0 ) , ( S ( 1 ) / 3 ) , pi , oo ) : raises ( TypeError , ( lambda : Gt ( a , I ) ) ) raises ( TypeError , ( lambda : ( a > I ) ) ) raises ( TypeError , ( lambda : Lt ( a , I ) ) ) raises ( TypeError , ( lambda : ( a < I ) ) ) raises ( TypeError , ( lambda : Ge ( a , I ) ) ) raises ( TypeError , ( lambda : ( a >= I ) ) ) raises ( TypeError , ( lambda : Le ( a , I ) ) ) raises ( TypeError , ( lambda : ( a <= I ) ) )
using the operator and functional forms should give same results .