BUG: fix test_rational PyNumberMethods for python3

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

Test rational fix 1.8.x