Handle ``--fulltrace`` correctly with ``pytest.raises``.