For user errors (e.g. wrong PYTEST_QT_API value or too old PyQt version) we should use pytest.UsageError instead of RuntimeError so that the user gets a nice error message instead of an INTERNALERROR> traceback.
Will do this after #340 since this adds two new such errors.
For user errors (e.g. wrong
PYTEST_QT_API
value or too old PyQt version) we should usepytest.UsageError
instead ofRuntimeError
so that the user gets a nice error message instead of anINTERNALERROR>
traceback.Will do this after #340 since this adds two new such errors.