TST: fix for tseries/test_period for py3k
Merge pull request #3204 from jreback/period_py3

TST: fix for tseries/test_period for py3k