remove yields from test_magic

at request of @fperez