> elif ask(Q.real(expr.exp), assumptions): > - if ask(Q.positive(expr.base), assumptions): > + if expr.exp.is_Rational and \
It's this if statement that isn't tested. You'll need some tests that look at ``x**(p/q)`` for different assumptions. Also, this test does not appear in AskImaginaryHandler. --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1156/files#r1356052 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.