fix test in older Py3.x versions, minor cleanups
fix test in older Py3.x versions, minor cleanups

dahebolangkuan/cython,mcanthony/cython,roxyboy/cython,da-woods/cython,andreasvc/cython,cython/cython,c-blake/cython,JelleZijlstra/cython,ABcDexter/cython,slonik-az/cython,marscher/cython,c-blake/cython,dahebolangkuan/cython,cython/cython,mrGeen/cython,achernet/cython,fabianrost84/cython,hhsprings/cython,madjar/cython,fabianrost84/cython,achernet/cython,cython/cython,slonik-az/cython,scoder/cython,da-woods/cython,c-blake/cython,acrispin/cython,scoder/cython,mrGeen/cython,dahebolangkuan/cython,ABcDexter/cython,andreasvc/cython,marscher/cython,fabianrost84/cython,madjar/cython,andreasvc/cython,JelleZijlstra/cython,JelleZijlstra/cython,hhsprings/cython,madjar/cython,da-woods/cython,hhsprings/cython,hickford/cython,encukou/cython,acrispin/cython,fperez/cython,marscher/cython,da-woods/cython,encukou/cython,mrGeen/cython,mcanthony/cython,dahebolangkuan/cython,slonik-az/cython,acrispin/cython,fperez/cython,fperez/cython,encukou/cython,mcanthony/cython,andreasvc/cython,madjar/cython,roxyboy/cython,ChristopherHogan/cython,marscher/cython,JelleZijlstra/cython,ChristopherHogan/cython,dahebolangkuan/cython,fperez/cython,mrGeen/cython,fperez/cython,andreasvc/cython,encukou/cython,roxyboy/cython,acrispin/cython,hhsprings/cython,encukou/cython,scoder/cython,c-blake/cython,achernet/cython,hickford/cython,acrispin/cython,achernet/cython,roxyboy/cython,marscher/cython,roxyboy/cython,slonik-az/cython,ABcDexter/cython,fabianrost84/cython,ChristopherHogan/cython,madjar/cython,scoder/cython,mcanthony/cython,slonik-az/cython,achernet/cython,fabianrost84/cython,mrGeen/cython,ABcDexter/cython,hickford/cython,cython/cython,JelleZijlstra/cython,hickford/cython,mcanthony/cython,ABcDexter/cython,c-blake/cython,hickford/cython,hhsprings/cython