def pytest_warning_captured()

in pytest_azurepipelines.py [0:0]


    def pytest_warning_captured(warning_message, *args, **kwargs):
        print("##vso[task.logissue type=warning;]{0}".format(str(warning_message.message)))