def pytest_report_header(): from pytestqt.qt_compat import qt_api v = qt_api.get_versions() fields = [ '%s %s' % (v.qt_api, v.qt_api_version), 'Qt runtime %s' % v.runtime, 'Qt compiled %s' % v.compiled, ] version_line = ' -- '.join(fields) return [version_line]
def pytest_report_header(): from pytestqt.qt_compat import qt_api v = qt_api.get_versions() fields = [ f"{v.qt_api} {v.qt_api_version}", "Qt runtime %s" % v.runtime, "Qt compiled %s" % v.compiled, ] version_line = " -- ".join(fields) return [version_line]