From nobody Thu Feb 09 16:11:21 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PCMLK6Q7Kz3plNn; Thu, 9 Feb 2023 16:11:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PCMLK5zQkz4Ht0; Thu, 9 Feb 2023 16:11:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675959081; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gI4jUFB45Jif5EDBcCJnibUiFLpIXQsUYWSqNElyN8Q=; b=ErrUWzdZ+5BMHcy157AVV0/b6iwTL5zIJgFuc8R4dIaNqEnb3Lqptr1rTDNBGzffyrK18D J4MnBAIDNqPMQy3U0PHSpIV6XQxximQba1XoydonyHED59mVu5x3rdUQqa0od/MS8JFFff eOBZg5vf5UUzOtPv84REi0EVJ1JqyWiVDk73v+SD1m/QcBPqcFRh83hJ3STnU48pMrFsHm taFWeiyXekIqaVU/Zc+MJQ84Jd0cTdt1PtmxyWP5+HH/ygBeXWJzb3DCh0FYOistTWvTdP ckJ7u38MGWupjdSeuYG/y8pI+YCPTXTl3JCcpWMGVL0WSS8g+fXdIppsaFoYQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675959081; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gI4jUFB45Jif5EDBcCJnibUiFLpIXQsUYWSqNElyN8Q=; b=BD5cjNbY8mWN6ftnMUjL0JvJmOt3cN32Is++FSF/vlU6MY4WAihmwkRdvL//+cT+/Vv1jB VvW46EUZOR7jbP+GeKK5OZYML6UX3CbuLWobTr9MQBTQjF5zF/xqkMWFE9eyc1fb0Cr1Fq jO6sQ5d8SUxHhF4pzVv3hbptWIJbS3Mcm76R4FfORuSQrVf0IUL5Tbbj++bGZR0dv1duDz yMEPInDOaQ91BFyx9B04ZvESvb2YIiouscymL/Nz2kRsLBLp+0la9Y81mFERi7HMSI46IY LqKxmjQgqK55GuviWGtKCUn4DnsPqUq6vXN423r0EaTpXCPfve+dw/myylDWnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675959081; a=rsa-sha256; cv=none; b=HiLXP2DjbSiFmCmZL5YyrSc+dVMOcTmgHpW5S6KwDlZze3eiYcTVLV4Q0l4uyS/OJrYG9G U1bzmxiifR/phdVYXwNIU57Sz55fZ2lPTvso6Y3rU+uH9/oSYd9D2oz/Y3q7cQvWjz4p6i 56MXpEZOkuVASSztX+s/ZI1Oso3Dl9gbiRj8O+ROP3yYhHP3Q+IlwT3Iyn5Ie5D8IdLAFO S7LxadayfyeeQ815zjXoKaLcqb4mKiwisfh1iu7oY6r4VX4Pw3BOadQgY96YXOCwavey7j JzMIrjLkvNHMWVzajlYFeFCGbvO9mBnxAZ1Pw446Wwx+PJ21mduJVwgMvL1sgA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PCMLK52T9zk2n; Thu, 9 Feb 2023 16:11:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 319GBLpf005378; Thu, 9 Feb 2023 16:11:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 319GBL0F005377; Thu, 9 Feb 2023 16:11:21 GMT (envelope-from git) Date: Thu, 9 Feb 2023 16:11:21 GMT Message-Id: <202302091611.319GBL0F005377@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 088e1247e79a - stable/13 - pytest: silence deprecation warning in the pytest atf wrapper List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 088e1247e79a7f07b965f32ccb1bb33a7695b366 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=088e1247e79a7f07b965f32ccb1bb33a7695b366 commit 088e1247e79a7f07b965f32ccb1bb33a7695b366 Author: Jose Luis Duran AuthorDate: 2022-12-28 15:51:18 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-02-09 15:45:20 +0000 pytest: silence deprecation warning in the pytest atf wrapper Convert `pytest.mark` decorator to the `pytest.hookimpl()` one, as suggested by the https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers Differential Revision: https://reviews.freebsd.org/D37884 MFC after: 2 weeks (cherry picked from commit eaeebfcb38599c94e89bbba3e9c7aeb821c84d71) --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 65c8bf5f0d01..b5ce5ae2286b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -51,7 +51,7 @@ def atf_vars() -> Dict[str, str]: return ATFHandler.get_atf_vars() -@pytest.mark.trylast +@pytest.hookimpl(trylast=True) def pytest_configure(config): if config.option.help: return