Fix exposure cube test on Python 2.6