Only execute segments_utils_verify test suite if run as a script
Copied from Only execute segments_utils_verify test suite i... (lscsoft/ligo-segments!39) • Unassigned.
This MR patches the segments_utils_verify.py
test module to only actually create and execute the unittest suite if run as a script. This allows executing the tests in this module using pytest
.