import pytest pytest.importorskip("foo.bar") import re from sys import version from numpy import *