From 6c09f2a45c5541e9c207d14fc7aa21a4a0066bde Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:03:19 +0200 Subject: Merging upstream version 1:2.12.0. Signed-off-by: Daniel Baumann --- test/t/test_nproc.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test/t/test_nproc.py') diff --git a/test/t/test_nproc.py b/test/t/test_nproc.py index 66a49ac..29f208b 100644 --- a/test/t/test_nproc.py +++ b/test/t/test_nproc.py @@ -6,12 +6,6 @@ class TestNproc: def test_1(self, completion): assert not completion - @pytest.mark.complete( - "nproc --", - xfail=( - "! nproc --help &>/dev/null || " - "! nproc --help 2>&1 | command grep -qF -- --help" - ), - ) + @pytest.mark.complete("nproc --", require_longopt=True) def test_2(self, completion): assert completion -- cgit v1.2.3