def test_doit2(): f = Integral(2 * x, x) l = Limit(f, x, oo) # limit() breaks on the contained Integral. assert l.doit(deep=False) == l
def test_doit(): f = Integral(2 * x, x) l = Limit(f, x, oo) assert l.doit() is oo