fix generator test.
fix generator test.

agriffis/vcrpy,kevin1024/vcrpy,poussik/vcrpy,mgeisler/vcrpy,bcen/vcrpy,gwillem/vcrpy,poussik/vcrpy,ByteInternet/vcrpy,yarikoptic/vcrpy,graingert/vcrpy,aclevy/vcrpy,graingert/vcrpy,kevin1024/vcrpy,ByteInternet/vcrpy