def test_disallow_inequality_comparisons():
 t = table.Table()
 with pytest.raises(TypeError):
  (t > 2)
 with pytest.raises(TypeError):
  (t < 1.1)
 with pytest.raises(TypeError):
  (t >= 5.5)
 with pytest.raises(TypeError):
  (t <= (-1.1))

def test_disallow_inequality_comparisons ( ) : t = table . Table ( ) with pytest . raises ( TypeError ) : ( t > 2 ) with pytest . raises ( TypeError ) : ( t < 1.1 ) with pytest . raises ( TypeError ) : ( t >= 5.5 ) with pytest . raises ( TypeError ) : ( t <= ( - 1.1 ) )
regression test for #828 - disallow comparison operators on whole table .