Fix rst doctests in units
Fix doctest based on @mhvk's feedback
Merge pull request #1742 from mdboom/doctest/units-2

doctest/units (again)