Skip to content

Fix unit test skip condition

Leo P. Singer requested to merge leo-singer/lalsuite:fix-unittest-skip into master

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.

Merge request reports

Loading