

def test_sqlalchemy_missing_engine():
    sqlalchemy = pytest.importorskip('apscheduler.jobstores.sqlalchemy')
    exc = pytest.raises(ValueError, sqlalchemy.SQLAlchemyJobStore)
    assert ('Need either' in str(sqlalchemy.value))

dataset/ETHPy150Open agronholm/apscheduler/tests/test_jobstores.py test_sqlalchemy_missing_engine/VarMisuse@37/66 `exc`->`sqlalchemy`