Attempt to fix Travis after pytest 2.4.0 upgrade

This is just a temporary measure as I get to the bottom of why pytest 2.4.0 breaks doctest testing.