BUG: fix test_rational PyNumberMethods for python3

wrong structure makes VC9 fail to compile under python3
Merge pull request #3694 from juliantaylor/test-rational-fix

BUG: fix test_rational PyNumberMethods for python3