Fix unitest on cpython2.6.