def test_main(monkeypatch, capsys):
    monkeypatch.setattr(sys, 'argv', ['pytest-bdd'])
    monkeypatch.setattr(sys, 'exit', lambda x: x)
    main()
    out, err = capsys.readouterr()
    assert 'usage: pytest-bdd [-h]' in err
    assert 'pytest-bdd: error:' in err
Mutable named tuple to allow attribute to be replaced. This should be
dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/scripts/test_main.py/test_main--crossover with--dataset/ETHPy150Open harryliu/edwin/edwinServer/site_packages/pypyodbc.py/MutableNamedTupleRow