Fix unit test skip condition
I am using pkg_resources.require()
to test for a sufficiently new
version of Pytest. This can raise pkg_resources.VersionConflict
.
Then I actually import pytest, which could raise an ImportError
(well, really, that's impossible, if the preceding
pkg_resources.require()
call returned without raising an exception.