def qtlog(request): """Fixture that can access messages captured during testing""" if hasattr(request._pyfuncitem, "qt_log_capture"): return request._pyfuncitem.qt_log_capture else: return _QtMessageCapture([]) # pragma: no cover
def qtlog(request): """Fixture that can access messages captured during testing""" if hasattr(request._pyfuncitem, 'qt_log_capture'): return request._pyfuncitem.qt_log_capture else: return _QtMessageCapture([]) # pragma: no cover