We need to add `from __future__ import with_statement` for Python 2.5.