def test_Rationals():
    assert theq(theano_code(sympy.Integer(2) / 3), tt.true_div(2, 3))
    assert theq(theano_code(S.Half), tt.true_div(1, 2))
dataset/ETHPy150Open sympy/sympy/sympy/printing/tests/test_theanocode.py/test_Rationals/original