def METHOD_NAME():
    suite = Suite()
    for _ in range(20):
        suite.add_test()
    problematic = suite.files[1]
    problematic.prepend_line('from nonexistent import nonexistent')
    for test in suite:
        test.expect_deselect()
    summary = suite.run(expect_session_errors=True)
    assert summary.exit_code != 0
    errs = summary.session.results.global_result.get_errors()
    for err in errs:
        assert 'No module named nonexistent' in err.message or "No module named 'nonexistent'" in err.message