ipython/ipython — pull request #4490 by minrk (2013-11-04 19:25:59+00:00)
Title: fix possible race condition in test_await_data

ar.data checks the latest value, and was checked twice assuming no change. This could cause `4` to stop the iteration but be absent from `found`, causing test failure.