I was not aware of the bad interaction with pdb. Worth  checking before
using yield in tests.