Use pprint to make doctest more deterministic