ipython/ipython — pull request #2232 by takluyver (2012-08-01 19:27:01+00:00)
Title: Reapply monkeypatch to inspect.findsource()

I believe this fixes #1456.

We had a monkeypatch written long ago without a record of why it was needed. In [discussion on issue 1229](https://github.com/ipython/ipython/pull/1229#issuecomment-3458960), we decided to disable it and see what happened.

Now we've found the error it fixed, this adds a test case that fails without the monkeypatch applied, and re-applies the monkeypatch.