use 0.13 exunit exception in doctest
Merge pull request #2182 from pragdave/make_013_compatible

use 0.13 exunit exception in doctest