test-webkitpy fails if users have Google App Engine installed, but no PIL This is a bug in GAE's "testbed" module: https://code.google.com/p/googleappengine/issues/detail?id=4818 We could detect that testbed failed to import in activeworkitems_unittest, but I'm not sure how we abort processing of the rest of the file. Adam hit this bug, but I suspect most contributors do not have GAE installed (and dont' run test-webkitpy).
I think I've also hit this.
If you have suggestions as to how to best skip all the ActiveWorkItemsTest class in that case, I'm all ears! We could have a global variable about PIL availability in activeworkitems_unittest.py and then have every method in the class check it? Or we could somehow re-define the ActiveWorkItemsTest class at the end of the file if PIL is unfound?
I'm not sure. Maybe the thing to do is to fix GAE? As you say, there's only a couple of us that will run into this in the meantime.
As far as I can tell, this has been fixed (http://s/20374838 for those on the Google corporate network) on the GAE side, presumably it will be in the next SDK release.
GAE 1.5.0 came out today. It may have this fix in it.