Fix for a `time` test failing in py 3.1, pointed out by @astrofrog