Workaround the bracketed-paste mode in tests

This commit is contained in:
Miro Hrončok 2021-02-02 18:25:58 +01:00
parent 36dc13fa0b
commit f4153a83e7

View File

@ -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