add a comment explaining the modimport tests
This commit is contained in:
parent
bb750a7945
commit
4d31ea8316
|
@ -12,6 +12,10 @@ MODSET = [
|
|||
|
||||
@pytest.mark.parametrize('modfile', MODSET, ids=lambda x: x.purebasename)
|
||||
def test_fileimport(modfile):
|
||||
# this test ensures all internal packages can import
|
||||
# without needing the pytest namespace being set
|
||||
# this is critical for the initialization of xdist
|
||||
|
||||
res = subprocess.call([
|
||||
sys.executable,
|
||||
'-c', 'import sys, py; py.path.local(sys.argv[1]).pyimport()',
|
||||
|
|
Loading…
Reference in New Issue