No idea. That should probably work.  Might want to make sure that the pytest version actually supports the importorskip mark.