refactor skip check in conftest to be separately testable

Also remove an extraneous newline that snuck in there.