Same as https://github.com/sympy/sympy/pull/7356/files#r11189625.
You should test when is_positive is False or None.