import units in doctests