TST: fix for tseries/test_period for py3k