You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the easy way is just replacing False with None. A better one is either fixing the no-PIL code path and adding tests for it (I don't see a reason for this additional complexity TBH) or dropping it and saying "we require PIL for tests".
I still don’t see what’s wrong with our code. skipIf(bool, reason) should work, and instead is causing this issue about the reason being a boolean, as if somewhere in the middle the first parameter of skipIf got interpreted as the reason.