added various from __future__ statements to placate pytest