Fix test_task_yield_from_invalid()

The exact error message depends on the version of Trollius and Tulip, if
they have the new create_task() function.

The check may be removed later when Trollius and Tulip with
create_task() will be widely deployed.