ipython/ipython — pull request #4018 by takluyver (2013-08-13 20:03:08+00:00)
Title: Fix warning when running IPython.kernel tests

The signature of TemporaryDirectory.cleanup() changed just before Python 3.2, and our TemporaryWorkingDirectory subclass was receiving an unexpected parameter. This copies in a newer TemporaryDirectory.cleanup() implementation for Python 2.7, and tweaks the subclass to accept the extra parameter.