if both operands are simple. To make CI tests pass with new black version 22.1 (#2726). Closes #40123