From f4153a83e79f77af4324918e42f337fb0ac7834d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 2 Feb 2021 18:25:58 +0100 Subject: [PATCH] Workaround the bracketed-paste mode in tests --- python-argcomplete.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 0b7781f..2d71126 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -60,6 +60,11 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/p %if %{with check} %check +# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1914782 +# upstream: https://github.com/kislyuk/argcomplete/issues/337 +echo "set enable-bracketed-paste off" > .inputrc +export INPUTRC=$PWD/.inputrc + %{python3} setup.py test %endif