0s autopkgtest [05:05:08]: starting date and time: 2024-11-14 05:05:08+0000 0s autopkgtest [05:05:08]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [05:05:08]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.grinyc8s/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-argcomplete,src:setuptools,src:python-pip,src:pexpect,src:wheel,src:python3-stdlib-extensions,src:python3-defaults --apt-upgrade python-argcomplete --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python-argcomplete/3.5.1-1 setuptools/75.2.0-1 python-pip/24.2+dfsg-1ubuntu0.1 pexpect/4.9-3 wheel/0.44.0-2build1 python3-stdlib-extensions/3.12.7-1 python3-defaults/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-32.secgroup --name adt-plucky-arm64-python-argcomplete-20241114-050508-juju-7f2275-prod-proposed-migration-environment-20-6fd400a0-fe37-4b4c-8f03-e2f6a32474da --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 65s autopkgtest [05:06:13]: testbed dpkg architecture: arm64 65s autopkgtest [05:06:13]: testbed apt version: 2.9.8 65s autopkgtest [05:06:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 66s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 66s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [987 kB] 66s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [98.6 kB] 66s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.4 kB] 66s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 66s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [128 kB] 66s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 66s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [722 kB] 66s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [6012 B] 66s Fetched 2088 kB in 1s (2511 kB/s) 66s Reading package lists... 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Calculating upgrade... 70s The following NEW packages will be installed: 70s python3-jaraco.text python3.13-gdbm 70s The following packages will be upgraded: 70s libpython3-stdlib python3 python3-gdbm python3-minimal python3-pkg-resources 70s python3-setuptools 70s 6 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 70s Need to get 903 kB of archives. 70s After this operation, 154 kB of additional disk space will be used. 70s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 70s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 70s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 70s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 70s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 70s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jaraco.text all 4.0.0-1 [11.5 kB] 70s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-pkg-resources all 75.2.0-1 [134 kB] 70s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-setuptools all 75.2.0-1 [657 kB] 71s Fetched 903 kB in 1s (1620 kB/s) 71s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79925 files and directories currently installed.) 71s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 71s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 71s Setting up python3-minimal (3.12.7-1) ... 71s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79925 files and directories currently installed.) 71s Preparing to unpack .../0-python3_3.12.7-1_arm64.deb ... 71s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 71s Preparing to unpack .../1-libpython3-stdlib_3.12.7-1_arm64.deb ... 71s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 71s Selecting previously unselected package python3.13-gdbm. 71s Preparing to unpack .../2-python3.13-gdbm_3.13.0-2_arm64.deb ... 71s Unpacking python3.13-gdbm (3.13.0-2) ... 71s Preparing to unpack .../3-python3-gdbm_3.12.7-1_arm64.deb ... 71s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 71s Selecting previously unselected package python3-jaraco.text. 71s Preparing to unpack .../4-python3-jaraco.text_4.0.0-1_all.deb ... 71s Unpacking python3-jaraco.text (4.0.0-1) ... 72s Preparing to unpack .../5-python3-pkg-resources_75.2.0-1_all.deb ... 72s Unpacking python3-pkg-resources (75.2.0-1) over (74.1.2-1) ... 72s Preparing to unpack .../6-python3-setuptools_75.2.0-1_all.deb ... 72s Unpacking python3-setuptools (75.2.0-1) over (74.1.2-1) ... 72s Setting up python3.13-gdbm (3.13.0-2) ... 72s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 72s Setting up python3 (3.12.7-1) ... 72s Setting up python3-jaraco.text (4.0.0-1) ... 72s Setting up python3-pkg-resources (75.2.0-1) ... 73s Setting up python3-setuptools (75.2.0-1) ... 73s Setting up python3-gdbm:arm64 (3.12.7-1) ... 73s Processing triggers for man-db (2.12.1-3) ... 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 75s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 75s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 75s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 75s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 76s Reading package lists... 76s Reading package lists... 77s Building dependency tree... 77s Reading state information... 77s Calculating upgrade... 77s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 77s Reading package lists... 78s Building dependency tree... 78s Reading state information... 78s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s autopkgtest [05:06:29]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 81s autopkgtest [05:06:29]: @@@@@@@@@@@@@@@@@@@@ apt-source python-argcomplete 83s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (dsc) [2429 B] 83s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (tar) [82.3 kB] 83s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (diff) [7072 B] 83s gpgv: Signature made Wed Oct 23 09:11:22 2024 UTC 83s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 83s gpgv: issuer "tchet@debian.org" 83s gpgv: Can't check signature: No public key 83s dpkg-source: warning: cannot verify inline signature for ./python-argcomplete_3.5.1-1.dsc: no acceptable signature found 83s autopkgtest [05:06:31]: testing package python-argcomplete version 3.5.1-1 84s autopkgtest [05:06:32]: build not needed 84s autopkgtest [05:06:32]: test unittests: preparing testbed 85s Reading package lists... 85s Building dependency tree... 85s Reading state information... 86s Starting pkgProblemResolver with broken count: 0 86s Starting 2 pkgProblemResolver with broken count: 0 86s Done 86s The following additional packages will be installed: 86s fish fish-common libpcre2-32-0 libpython3.13-minimal libpython3.13-stdlib 86s python3-all python3-argcomplete python3-pexpect python3-pip 86s python3-ptyprocess python3-wheel python3.13 python3.13-minimal tcsh zsh 86s zsh-common 86s Suggested packages: 86s doc-base python-pexpect-doc python3.13-venv python3.13-doc binfmt-support 86s zsh-doc 86s Recommended packages: 86s xsel lynx | www-browser build-essential python3-dev libjs-sphinxdoc 86s The following NEW packages will be installed: 86s autopkgtest-satdep fish fish-common libpcre2-32-0 libpython3.13-minimal 86s libpython3.13-stdlib python3-all python3-argcomplete python3-pexpect 86s python3-pip python3-ptyprocess python3-wheel python3.13 python3.13-minimal 86s tcsh zsh zsh-common 86s 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. 86s Need to get 15.5 MB/15.5 MB of archives. 86s After this operation, 73.7 MB of additional disk space will be used. 86s Get:1 /tmp/autopkgtest.6HmXTK/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [752 B] 87s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 87s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 87s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 fish-common all 3.7.1-1 [1635 kB] 87s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 87s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 fish arm64 3.7.1-1 [911 kB] 87s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 87s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 87s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 87s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-argcomplete all 3.5.1-1 [35.4 kB] 87s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-ptyprocess all 0.7.0-6 [14.8 kB] 87s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-pexpect all 4.9-3 [48.1 kB] 87s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-wheel all 0.44.0-2build1 [54.4 kB] 87s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-pip all 24.2+dfsg-1ubuntu0.1 [1398 kB] 87s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 tcsh arm64 6.24.13-2 [445 kB] 87s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 zsh-common all 5.9-6ubuntu3 [4170 kB] 87s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 zsh arm64 5.9-6ubuntu3 [807 kB] 88s Fetched 15.5 MB in 1s (14.9 MB/s) 88s Selecting previously unselected package libpython3.13-minimal:arm64. 88s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79941 files and directories currently installed.) 88s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_arm64.deb ... 88s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 88s Selecting previously unselected package python3.13-minimal. 88s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_arm64.deb ... 88s Unpacking python3.13-minimal (3.13.0-2) ... 88s Selecting previously unselected package fish-common. 88s Preparing to unpack .../02-fish-common_3.7.1-1_all.deb ... 88s Unpacking fish-common (3.7.1-1) ... 88s Selecting previously unselected package libpcre2-32-0:arm64. 88s Preparing to unpack .../03-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 88s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 88s Selecting previously unselected package fish. 88s Preparing to unpack .../04-fish_3.7.1-1_arm64.deb ... 88s Unpacking fish (3.7.1-1) ... 88s Selecting previously unselected package libpython3.13-stdlib:arm64. 88s Preparing to unpack .../05-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 88s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 88s Selecting previously unselected package python3.13. 88s Preparing to unpack .../06-python3.13_3.13.0-2_arm64.deb ... 88s Unpacking python3.13 (3.13.0-2) ... 88s Selecting previously unselected package python3-all. 89s Preparing to unpack .../07-python3-all_3.12.7-1_arm64.deb ... 89s Unpacking python3-all (3.12.7-1) ... 89s Selecting previously unselected package python3-argcomplete. 89s Preparing to unpack .../08-python3-argcomplete_3.5.1-1_all.deb ... 89s Unpacking python3-argcomplete (3.5.1-1) ... 89s Selecting previously unselected package python3-ptyprocess. 89s Preparing to unpack .../09-python3-ptyprocess_0.7.0-6_all.deb ... 89s Unpacking python3-ptyprocess (0.7.0-6) ... 89s Selecting previously unselected package python3-pexpect. 89s Preparing to unpack .../10-python3-pexpect_4.9-3_all.deb ... 89s Unpacking python3-pexpect (4.9-3) ... 89s Selecting previously unselected package python3-wheel. 89s Preparing to unpack .../11-python3-wheel_0.44.0-2build1_all.deb ... 89s Unpacking python3-wheel (0.44.0-2build1) ... 89s Selecting previously unselected package python3-pip. 89s Preparing to unpack .../12-python3-pip_24.2+dfsg-1ubuntu0.1_all.deb ... 89s Unpacking python3-pip (24.2+dfsg-1ubuntu0.1) ... 89s Selecting previously unselected package tcsh. 89s Preparing to unpack .../13-tcsh_6.24.13-2_arm64.deb ... 89s Unpacking tcsh (6.24.13-2) ... 89s Selecting previously unselected package zsh-common. 89s Preparing to unpack .../14-zsh-common_5.9-6ubuntu3_all.deb ... 89s Unpacking zsh-common (5.9-6ubuntu3) ... 89s Selecting previously unselected package zsh. 89s Preparing to unpack .../15-zsh_5.9-6ubuntu3_arm64.deb ... 89s Unpacking zsh (5.9-6ubuntu3) ... 89s Selecting previously unselected package autopkgtest-satdep. 89s Preparing to unpack .../16-1-autopkgtest-satdep.deb ... 89s Unpacking autopkgtest-satdep (0) ... 89s Setting up zsh-common (5.9-6ubuntu3) ... 89s Setting up python3-wheel (0.44.0-2build1) ... 89s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 89s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 89s Setting up python3-pip (24.2+dfsg-1ubuntu0.1) ... 91s Setting up python3.13-minimal (3.13.0-2) ... 92s Setting up zsh (5.9-6ubuntu3) ... 92s Setting up python3-argcomplete (3.5.1-1) ... 92s Setting up fish-common (3.7.1-1) ... 92s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 92s Setting up tcsh (6.24.13-2) ... 92s update-alternatives: using /bin/tcsh to provide /bin/csh (csh) in auto mode 93s Setting up python3-ptyprocess (0.7.0-6) ... 93s Setting up python3.13 (3.13.0-2) ... 94s Setting up python3-all (3.12.7-1) ... 94s Setting up python3-pexpect (4.9-3) ... 94s Setting up fish (3.7.1-1) ... 94s Setting up autopkgtest-satdep (0) ... 94s Processing triggers for systemd (256.5-2ubuntu4) ... 94s Processing triggers for man-db (2.12.1-3) ... 94s Processing triggers for debianutils (5.20) ... 94s Processing triggers for libc-bin (2.40-1ubuntu3) ... 97s (Reading database ... 84663 files and directories currently installed.) 97s Removing autopkgtest-satdep (0) ... 98s autopkgtest [05:06:46]: test unittests: [----------------------- 98s === python3.13 === 98s test_action_activation (__main__.TestArgcomplete.test_action_activation) ... ERROR 98s test_action_activation_with_subparser (__main__.TestArgcomplete.test_action_activation_with_subparser) ... ERROR 98s test_append_space (__main__.TestArgcomplete.test_append_space) ... ERROR 98s test_basic_completion (__main__.TestArgcomplete.test_basic_completion) ... ERROR 98s test_choices (__main__.TestArgcomplete.test_choices) ... ERROR 98s test_completers (__main__.TestArgcomplete.test_completers) ... ERROR 98s test_custom_validator (__main__.TestArgcomplete.test_custom_validator) ... ERROR 98s test_default_completer (__main__.TestArgcomplete.test_default_completer) ... ERROR 98s test_different_validators (__main__.TestArgcomplete.test_different_validators) ... ERROR 98s test_directory_completion (__main__.TestArgcomplete.test_directory_completion) ... ok 98s test_display_completions (__main__.TestArgcomplete.test_display_completions) ... ERROR 98s test_display_completions_with_aliases (__main__.TestArgcomplete.test_display_completions_with_aliases) ... ERROR 98s test_escape_special_chars (__main__.TestArgcomplete.test_escape_special_chars) ... ERROR 98s test_exclusive (__main__.TestArgcomplete.test_exclusive) ... ERROR 98s test_exclusive_class (__main__.TestArgcomplete.test_exclusive_class) ... ERROR 98s test_file_completion (__main__.TestArgcomplete.test_file_completion) ... ok 98s test_filescompleter_filetype_integration (__main__.TestArgcomplete.test_filescompleter_filetype_integration) ... ERROR 98s test_mixed_optional_positional (__main__.TestArgcomplete.test_mixed_optional_positional) ... ERROR 98s test_nargs_one_or_more (__main__.TestArgcomplete.test_nargs_one_or_more) ... ERROR 98s test_nargs_optional (__main__.TestArgcomplete.test_nargs_optional) ... ERROR 98s test_nargs_zero_or_more (__main__.TestArgcomplete.test_nargs_zero_or_more) ... ERROR 98s test_non_ascii (__main__.TestArgcomplete.test_non_ascii) ... ERROR 98s test_non_str_choices (__main__.TestArgcomplete.test_non_str_choices) ... ERROR 98s test_option_help (__main__.TestArgcomplete.test_option_help) ... ERROR 98s test_optional_long_short_filtering (__main__.TestArgcomplete.test_optional_long_short_filtering) ... ERROR 98s test_optional_nargs (__main__.TestArgcomplete.test_optional_nargs) ... ERROR 98s test_positional_remainder (__main__.TestArgcomplete.test_positional_remainder) ... ERROR 98s test_readline_entry_point (__main__.TestArgcomplete.test_readline_entry_point) ... ERROR 98s test_shellcode_utility (__main__.TestArgcomplete.test_shellcode_utility) ... ok 98s test_skipped_completer (__main__.TestArgcomplete.test_skipped_completer) ... ERROR 98s test_subparser_completers (__main__.TestArgcomplete.test_subparser_completers) ... ERROR 98s test_subparsers (__main__.TestArgcomplete.test_subparsers) ... ERROR 98s test_suppress_args (__main__.TestArgcomplete.test_suppress_args) ... ERROR 98s test_suppress_completer (__main__.TestArgcomplete.test_suppress_completer) ... ERROR 98s test_repl_multiple_complete (__main__.TestArgcompleteREPL.test_repl_multiple_complete) ... ERROR 98s test_repl_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_parse_after_complete) ... ERROR 98s test_repl_reuse_parser_with_positional (__main__.TestArgcompleteREPL.test_repl_reuse_parser_with_positional) ... ERROR 98s test_repl_subcommand (__main__.TestArgcompleteREPL.test_repl_subcommand) ... ERROR 98s test_repl_subparser_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_subparser_parse_after_complete) ... ERROR 99s test_comp_point (__main__.TestBash.test_comp_point) ... FAIL 100s test_completion_environment (__main__.TestBash.test_completion_environment) ... FAIL 100s test_continuation (__main__.TestBash.test_continuation) ... FAIL 101s test_debug_output (__main__.TestBash.test_debug_output) ... FAIL 102s test_double_quoted_completion (__main__.TestBash.test_double_quoted_completion) ... ERROR 103s test_exclamation_in_double_quotes (__main__.TestBash.test_exclamation_in_double_quotes) ... expected failure 103s test_nounset (__main__.TestBash.test_nounset) ... FAIL 104s test_one_space_after_exact (__main__.TestBash.test_one_space_after_exact) 104s Test exactly one space is appended after an exact match. ... FAIL 105s test_parse_special_characters (__main__.TestBash.test_parse_special_characters) ... FAIL 106s test_parse_special_characters_dollar (__main__.TestBash.test_parse_special_characters_dollar) ... expected failure 107s test_partial_completion (__main__.TestBash.test_partial_completion) ... FAIL 107s test_quoted_exact (__main__.TestBash.test_quoted_exact) ... ERROR 108s test_quoted_space (__main__.TestBash.test_quoted_space) ... ERROR 109s test_quotes (__main__.TestBash.test_quotes) ... FAIL 110s test_simple_completion (__main__.TestBash.test_simple_completion) ... FAIL 110s test_single_quoted_completion (__main__.TestBash.test_single_quoted_completion) ... ERROR 111s test_single_quotes_in_double_quotes (__main__.TestBash.test_single_quotes_in_double_quotes) ... ERROR 112s test_single_quotes_in_single_quotes (__main__.TestBash.test_single_quotes_in_single_quotes) ... ERROR 113s test_special_characters (__main__.TestBash.test_special_characters) ... FAIL 113s test_special_characters_double_quoted (__main__.TestBash.test_special_characters_double_quoted) ... FAIL 114s test_special_characters_single_quoted (__main__.TestBash.test_special_characters_single_quoted) ... FAIL 115s test_temp_file (__main__.TestBash.test_temp_file) ... FAIL 116s test_unquoted_space (__main__.TestBash.test_unquoted_space) ... FAIL 116s test_wordbreak_chars (__main__.TestBash.test_wordbreak_chars) ... FAIL 117s test_comp_point (__main__.TestBashGlobal.test_comp_point) ... FAIL 118s test_completion_environment (__main__.TestBashGlobal.test_completion_environment) ... FAIL 118s test_console_script_module (__main__.TestBashGlobal.test_console_script_module) 120s Test completing a console_script for a module. ... FAIL 120s test_console_script_module_wheel (__main__.TestBashGlobal.test_console_script_module_wheel) 122s Test completing a console_script for a module from a wheel. ... FAIL 123s test_console_script_package (__main__.TestBashGlobal.test_console_script_package) 125s Test completing a console_script for a package. ... FAIL 125s test_console_script_package_wheel (__main__.TestBashGlobal.test_console_script_package_wheel) 127s Test completing a console_script for a package from a wheel. ... FAIL 128s test_continuation (__main__.TestBashGlobal.test_continuation) ... FAIL 129s test_debug_output (__main__.TestBashGlobal.test_debug_output) ... FAIL 129s test_double_quoted_completion (__main__.TestBashGlobal.test_double_quoted_completion) ... ERROR 130s test_exclamation_in_double_quotes (__main__.TestBashGlobal.test_exclamation_in_double_quotes) ... expected failure 131s test_nounset (__main__.TestBashGlobal.test_nounset) ... FAIL 131s test_one_space_after_exact (__main__.TestBashGlobal.test_one_space_after_exact) 132s Test exactly one space is appended after an exact match. ... FAIL 132s test_parse_special_characters (__main__.TestBashGlobal.test_parse_special_characters) ... FAIL 133s test_parse_special_characters_dollar (__main__.TestBashGlobal.test_parse_special_characters_dollar) ... expected failure 134s test_partial_completion (__main__.TestBashGlobal.test_partial_completion) ... FAIL 135s test_python_completion (__main__.TestBashGlobal.test_python_completion) ... FAIL 136s test_python_filename_completion (__main__.TestBashGlobal.test_python_filename_completion) ... FAIL 136s test_python_module (__main__.TestBashGlobal.test_python_module) 136s Test completing a module run with python -m. ... FAIL 136s test_python_not_executable (__main__.TestBashGlobal.test_python_not_executable) 137s Test completing a script that cannot be run directly. ... FAIL 138s test_python_stuck (__main__.TestBashGlobal.test_python_stuck) ... ok 139s test_quoted_exact (__main__.TestBashGlobal.test_quoted_exact) ... ERROR 140s test_quoted_space (__main__.TestBashGlobal.test_quoted_space) ... ERROR 140s test_quotes (__main__.TestBashGlobal.test_quotes) ... FAIL 141s test_redirection_completion (__main__.TestBashGlobal.test_redirection_completion) ... ok 142s test_simple_completion (__main__.TestBashGlobal.test_simple_completion) ... FAIL 143s test_single_quoted_completion (__main__.TestBashGlobal.test_single_quoted_completion) ... ERROR 144s test_single_quotes_in_double_quotes (__main__.TestBashGlobal.test_single_quotes_in_double_quotes) ... ERROR 144s test_single_quotes_in_single_quotes (__main__.TestBashGlobal.test_single_quotes_in_single_quotes) ... ERROR 145s test_special_characters (__main__.TestBashGlobal.test_special_characters) ... FAIL 146s test_special_characters_double_quoted (__main__.TestBashGlobal.test_special_characters_double_quoted) ... FAIL 147s test_special_characters_single_quoted (__main__.TestBashGlobal.test_special_characters_single_quoted) ... FAIL 148s test_temp_file (__main__.TestBashGlobal.test_temp_file) ... FAIL 149s test_unquoted_space (__main__.TestBashGlobal.test_unquoted_space) ... FAIL 149s test_wordbreak_chars (__main__.TestBashGlobal.test_wordbreak_chars) ... FAIL 149s test_module (__main__.TestCheckModule.test_module) ... ok 149s test_not_package (__main__.TestCheckModule.test_not_package) ... ok 149s test_package (__main__.TestCheckModule.test_package) ... ok 149s test_package_main (__main__.TestCheckModule.test_package_main) ... ok 149s test_subpackage (__main__.TestCheckModule.test_subpackage) ... ok 149s test_escaped_special (__main__.TestSplitLine.test_escaped_special) ... ok 149s test_escaped_special_in_double_quotes (__main__.TestSplitLine.test_escaped_special_in_double_quotes) ... expected failure 149s test_last_wordbreak_pos (__main__.TestSplitLine.test_last_wordbreak_pos) ... ok 149s test_punctuation (__main__.TestSplitLine.test_punctuation) ... ok 149s test_simple (__main__.TestSplitLine.test_simple) ... ok 149s test_unescaped_special (__main__.TestSplitLine.test_unescaped_special) ... ok 149s test_comp_point (__main__.TestZsh.test_comp_point) ... skipped 'skip' 149s test_completion_environment (__main__.TestZsh.test_completion_environment) ... skipped 'skip' 151s test_continuation (__main__.TestZsh.test_continuation) ... FAIL 152s test_double_quoted_completion (__main__.TestZsh.test_double_quoted_completion) ... ERROR 153s test_exclamation_in_double_quotes (__main__.TestZsh.test_exclamation_in_double_quotes) ... ERROR 153s test_parse_special_characters (__main__.TestZsh.test_parse_special_characters) ... skipped 'skip' 153s test_parse_special_characters_dollar (__main__.TestZsh.test_parse_special_characters_dollar) ... skipped 'skip' 153s test_partial_completion (__main__.TestZsh.test_partial_completion) ... FAIL 154s test_quoted_exact (__main__.TestZsh.test_quoted_exact) ... ERROR 155s test_quoted_space (__main__.TestZsh.test_quoted_space) ... ERROR 156s test_quotes (__main__.TestZsh.test_quotes) ... FAIL 157s test_simple_completion (__main__.TestZsh.test_simple_completion) ... FAIL 158s test_single_quoted_completion (__main__.TestZsh.test_single_quoted_completion) ... ERROR 159s test_single_quotes_in_double_quotes (__main__.TestZsh.test_single_quotes_in_double_quotes) ... ERROR 159s test_single_quotes_in_single_quotes (__main__.TestZsh.test_single_quotes_in_single_quotes) ... ERROR 160s test_special_characters (__main__.TestZsh.test_special_characters) ... FAIL 161s test_special_characters_double_quoted (__main__.TestZsh.test_special_characters_double_quoted) ... FAIL 162s test_special_characters_single_quoted (__main__.TestZsh.test_special_characters_single_quoted) ... FAIL 163s test_unquoted_space (__main__.TestZsh.test_unquoted_space) ... FAIL 164s test_wordbreak_chars (__main__.TestZsh.test_wordbreak_chars) ... FAIL 164s test_comp_point (__main__.TestZshGlobalExplicit.test_comp_point) ... skipped 'skip' 164s test_completion_environment (__main__.TestZshGlobalExplicit.test_completion_environment) ... skipped 'skip' 164s test_console_script_module (__main__.TestZshGlobalExplicit.test_console_script_module) 166s Test completing a console_script for a module. ... FAIL 166s test_console_script_module_wheel (__main__.TestZshGlobalExplicit.test_console_script_module_wheel) 169s Test completing a console_script for a module from a wheel. ... FAIL 169s test_console_script_package (__main__.TestZshGlobalExplicit.test_console_script_package) 171s Test completing a console_script for a package. ... FAIL 171s test_console_script_package_wheel (__main__.TestZshGlobalExplicit.test_console_script_package_wheel) 174s Test completing a console_script for a package from a wheel. ... FAIL 175s test_continuation (__main__.TestZshGlobalExplicit.test_continuation) ... FAIL 175s test_double_quoted_completion (__main__.TestZshGlobalExplicit.test_double_quoted_completion) ... ERROR 176s test_exclamation_in_double_quotes (__main__.TestZshGlobalExplicit.test_exclamation_in_double_quotes) ... ERROR 176s test_parse_special_characters (__main__.TestZshGlobalExplicit.test_parse_special_characters) ... skipped 'skip' 176s test_parse_special_characters_dollar (__main__.TestZshGlobalExplicit.test_parse_special_characters_dollar) ... skipped 'skip' 177s test_partial_completion (__main__.TestZshGlobalExplicit.test_partial_completion) ... FAIL 178s test_python_completion (__main__.TestZshGlobalExplicit.test_python_completion) ... FAIL 179s test_python_filename_completion (__main__.TestZshGlobalExplicit.test_python_filename_completion) ... FAIL 179s test_python_module (__main__.TestZshGlobalExplicit.test_python_module) 180s Test completing a module run with python -m. ... FAIL 180s test_python_not_executable (__main__.TestZshGlobalExplicit.test_python_not_executable) 181s Test completing a script that cannot be run directly. ... FAIL 182s test_python_stuck (__main__.TestZshGlobalExplicit.test_python_stuck) ... ok 183s test_quoted_exact (__main__.TestZshGlobalExplicit.test_quoted_exact) ... ERROR 184s test_quoted_space (__main__.TestZshGlobalExplicit.test_quoted_space) ... ERROR 185s test_quotes (__main__.TestZshGlobalExplicit.test_quotes) ... FAIL 186s test_redirection_completion (__main__.TestZshGlobalExplicit.test_redirection_completion) ... ok 187s test_simple_completion (__main__.TestZshGlobalExplicit.test_simple_completion) ... FAIL 188s test_single_quoted_completion (__main__.TestZshGlobalExplicit.test_single_quoted_completion) ... ERROR 189s test_single_quotes_in_double_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_double_quotes) ... ERROR 189s test_single_quotes_in_single_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_single_quotes) ... ERROR 190s test_special_characters (__main__.TestZshGlobalExplicit.test_special_characters) ... FAIL 191s test_special_characters_double_quoted (__main__.TestZshGlobalExplicit.test_special_characters_double_quoted) ... FAIL 192s test_special_characters_single_quoted (__main__.TestZshGlobalExplicit.test_special_characters_single_quoted) ... FAIL 193s test_unquoted_space (__main__.TestZshGlobalExplicit.test_unquoted_space) ... FAIL 194s test_wordbreak_chars (__main__.TestZshGlobalExplicit.test_wordbreak_chars) ... FAIL 194s test_comp_point (__main__.TestZshGlobalImplicit.test_comp_point) ... skipped 'skip' 194s test_completion_environment (__main__.TestZshGlobalImplicit.test_completion_environment) ... skipped 'skip' 194s test_console_script_module (__main__.TestZshGlobalImplicit.test_console_script_module) 197s Test completing a console_script for a module. ... FAIL 197s test_console_script_module_wheel (__main__.TestZshGlobalImplicit.test_console_script_module_wheel) 199s Test completing a console_script for a module from a wheel. ... FAIL 199s test_console_script_package (__main__.TestZshGlobalImplicit.test_console_script_package) 202s Test completing a console_script for a package. ... FAIL 202s test_console_script_package_wheel (__main__.TestZshGlobalImplicit.test_console_script_package_wheel) 204s Test completing a console_script for a package from a wheel. ... FAIL 205s test_continuation (__main__.TestZshGlobalImplicit.test_continuation) ... FAIL 206s test_double_quoted_completion (__main__.TestZshGlobalImplicit.test_double_quoted_completion) ... ERROR 206s test_exclamation_in_double_quotes (__main__.TestZshGlobalImplicit.test_exclamation_in_double_quotes) ... ERROR 206s test_parse_special_characters (__main__.TestZshGlobalImplicit.test_parse_special_characters) ... skipped 'skip' 206s test_parse_special_characters_dollar (__main__.TestZshGlobalImplicit.test_parse_special_characters_dollar) ... skipped 'skip' 207s test_partial_completion (__main__.TestZshGlobalImplicit.test_partial_completion) ... FAIL 208s test_python_completion (__main__.TestZshGlobalImplicit.test_python_completion) ... FAIL 209s test_python_filename_completion (__main__.TestZshGlobalImplicit.test_python_filename_completion) ... FAIL 209s test_python_module (__main__.TestZshGlobalImplicit.test_python_module) 210s Test completing a module run with python -m. ... FAIL 210s test_python_not_executable (__main__.TestZshGlobalImplicit.test_python_not_executable) 211s Test completing a script that cannot be run directly. ... FAIL 212s test_python_stuck (__main__.TestZshGlobalImplicit.test_python_stuck) ... ok 213s test_quoted_exact (__main__.TestZshGlobalImplicit.test_quoted_exact) ... ERROR 214s test_quoted_space (__main__.TestZshGlobalImplicit.test_quoted_space) ... ERROR 214s test_quotes (__main__.TestZshGlobalImplicit.test_quotes) ... FAIL 215s test_redirection_completion (__main__.TestZshGlobalImplicit.test_redirection_completion) ... ok 216s test_simple_completion (__main__.TestZshGlobalImplicit.test_simple_completion) ... FAIL 217s test_single_quoted_completion (__main__.TestZshGlobalImplicit.test_single_quoted_completion) ... ERROR 218s test_single_quotes_in_double_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_double_quotes) ... ERROR 218s test_single_quotes_in_single_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_single_quotes) ... ERROR 219s test_special_characters (__main__.TestZshGlobalImplicit.test_special_characters) ... FAIL 220s test_special_characters_double_quoted (__main__.TestZshGlobalImplicit.test_special_characters_double_quoted) ... FAIL 221s test_special_characters_single_quoted (__main__.TestZshGlobalImplicit.test_special_characters_single_quoted) ... FAIL 222s test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space) ... FAIL 222s test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars) ... FAIL 222s test_warn (__main__.Warn.test_warn) ... ok 222s 222s ====================================================================== 222s ERROR: test_action_activation (__main__.TestArgcomplete.test_action_activation) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 250, in test_action_activation 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_action_activation_with_subparser (__main__.TestArgcomplete.test_action_activation_with_subparser) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 276, in test_action_activation_with_subparser 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_append_space (__main__.TestArgcomplete.test_append_space) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 802, in test_append_space 222s self.assertEqual(self.run_completer(make_parser(), "prog "), ["bar "]) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_basic_completion (__main__.TestArgcomplete.test_basic_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 150, in test_basic_completion 222s completions = self.run_completer(p, "prog ") 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_choices (__main__.TestArgcomplete.test_choices) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 180, in test_choices 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_completers (__main__.TestArgcomplete.test_completers) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 301, in test_completers 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_custom_validator (__main__.TestArgcomplete.test_custom_validator) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 501, in test_custom_validator 222s self.assertEqual(set(self.run_completer(make_parser(), cmd, validator=lambda x, y: False)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_default_completer (__main__.TestArgcomplete.test_default_completer) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 425, in test_default_completer 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_different_validators (__main__.TestArgcomplete.test_different_validators) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 527, in test_different_validators 222s self.assertEqual(set(self.run_completer(make_parser(), cmd, validator=validator)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_display_completions (__main__.TestArgcomplete.test_display_completions) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 565, in test_display_completions 222s completer.rl_complete("", 0) 222s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 222s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_display_completions_with_aliases (__main__.TestArgcomplete.test_display_completions_with_aliases) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 577, in test_display_completions_with_aliases 222s completer.rl_complete("", 0) 222s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 222s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_escape_special_chars (__main__.TestArgcomplete.test_escape_special_chars) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 833, in test_escape_special_chars 222s self.assertEqual(set(self.run_completer(make_parser(), "prog -1 ")), {r"bar\<\$\>baz "}) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_exclusive (__main__.TestArgcomplete.test_exclusive) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 774, in test_exclusive 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_exclusive_class (__main__.TestArgcomplete.test_exclusive_class) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 823, in test_exclusive_class 222s self.assertEqual(set(self.run_completer(parser, cmd, completer=completer)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 601, in _action_allowed 222s if not CompletionFinder._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_filescompleter_filetype_integration (__main__.TestArgcomplete.test_filescompleter_filetype_integration) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 379, in test_filescompleter_filetype_integration 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_mixed_optional_positional (__main__.TestArgcomplete.test_mixed_optional_positional) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 794, in test_mixed_optional_positional 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_nargs_one_or_more (__main__.TestArgcomplete.test_nargs_one_or_more) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 631, in test_nargs_one_or_more 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_nargs_optional (__main__.TestArgcomplete.test_nargs_optional) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 666, in test_nargs_optional 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_nargs_zero_or_more (__main__.TestArgcomplete.test_nargs_zero_or_more) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 649, in test_nargs_zero_or_more 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_non_ascii (__main__.TestArgcomplete.test_non_ascii) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 483, in test_non_ascii 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_non_str_choices (__main__.TestArgcomplete.test_non_str_choices) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 197, in test_non_str_choices 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_option_help (__main__.TestArgcomplete.test_option_help) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 885, in test_option_help 222s completions = self.run_completer(p, "prog --f", shell="fish") 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_optional_long_short_filtering (__main__.TestArgcomplete.test_optional_long_short_filtering) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 754, in test_optional_long_short_filtering 222s result = self.run_completer(make_parser(), cmd, always_complete_options=always_complete_options) 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_optional_nargs (__main__.TestArgcomplete.test_optional_nargs) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 698, in test_optional_nargs 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_positional_remainder (__main__.TestArgcomplete.test_positional_remainder) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 718, in test_positional_remainder 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_readline_entry_point (__main__.TestArgcomplete.test_readline_entry_point) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 544, in test_readline_entry_point 222s get_readline_completions(completer, ""), ["-h", "--help", "sojourner", "spirit", "opportunity", "curiosity"] 222s ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 533, in get_readline_completions 222s completion = completer.rl_complete(text, i) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 222s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_skipped_completer (__main__.TestArgcomplete.test_skipped_completer) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 723, in test_skipped_completer 222s self.assertEqual(self.run_completer(parser, "prog --foo --"), ["--foo "]) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_subparser_completers (__main__.TestArgcomplete.test_subparser_completers) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 346, in test_subparser_completers 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_subparsers (__main__.TestArgcomplete.test_subparsers) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 452, in test_subparsers 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_suppress_args (__main__.TestArgcomplete.test_suppress_args) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 209, in test_suppress_args 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_suppress_completer (__main__.TestArgcomplete.test_suppress_completer) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 227, in test_suppress_completer 222s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 139, in run_completer 222s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 222s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 222s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_repl_multiple_complete (__main__.TestArgcompleteREPL.test_repl_multiple_complete) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 919, in test_repl_multiple_complete 222s completions = self.run_completer(p, c, "prog ") 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 908, in run_completer 222s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_repl_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_parse_after_complete) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 932, in test_repl_parse_after_complete 222s completions = self.run_completer(p, c, "prog ") 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 908, in run_completer 222s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_repl_reuse_parser_with_positional (__main__.TestArgcompleteREPL.test_repl_reuse_parser_with_positional) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1001, in test_repl_reuse_parser_with_positional 222s self.assertEqual(set(self.run_completer(p, c, "prog ")), set(["-h", "--help", "aa", "bb", "cc"])) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 908, in run_completer 222s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_repl_subcommand (__main__.TestArgcompleteREPL.test_repl_subcommand) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 992, in test_repl_subcommand 222s self.assertEqual(set(self.run_completer(p, c, cmd)), set(output)) 222s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 908, in run_completer 222s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_repl_subparser_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_subparser_parse_after_complete) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 952, in test_repl_subparser_parse_after_complete 222s completions = self.run_completer(p, c, "prog foo ") 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 908, in run_completer 222s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 222s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 222s completions += self._get_option_completions(active_parser, cword_prefix) 222s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 222s if not self._action_allowed(action, parser): 222s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ 222s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 222s for conflict_action in parser._action_conflicts.get(action, []): 222s ^^^^^^^^^^^^^^^^^^^^^^^^ 222s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 222s 222s ====================================================================== 222s ERROR: test_double_quoted_completion (__main__.TestBash.test_double_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 222s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f 222s 222s ====================================================================== 222s ERROR: test_quoted_exact (__main__.TestBash.test_quoted_exact) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 222s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f -- 222s 222s ====================================================================== 222s ERROR: test_quoted_space (__main__.TestBash.test_quoted_space) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 222s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog space "f 222s 222s ====================================================================== 222s ERROR: test_single_quoted_completion (__main__.TestBash.test_single_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 222s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic 'f 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_double_quotes (__main__.TestBash.test_single_quotes_in_double_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 222s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote "1 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_single_quotes (__main__.TestBash.test_single_quotes_in_single_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 222s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote '1 222s 222s ====================================================================== 222s ERROR: test_double_quoted_completion (__main__.TestBashGlobal.test_double_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 222s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f 222s 222s ====================================================================== 222s ERROR: test_quoted_exact (__main__.TestBashGlobal.test_quoted_exact) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 222s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f -- 222s 222s ====================================================================== 222s ERROR: test_quoted_space (__main__.TestBashGlobal.test_quoted_space) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 222s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog space "f 222s 222s ====================================================================== 222s ERROR: test_single_quoted_completion (__main__.TestBashGlobal.test_single_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 222s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic 'f 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_double_quotes (__main__.TestBashGlobal.test_single_quotes_in_double_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 222s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote "1 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_single_quotes (__main__.TestBashGlobal.test_single_quotes_in_single_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 222s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote '1 222s 222s ====================================================================== 222s ERROR: test_double_quoted_completion (__main__.TestZsh.test_double_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 222s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f 222s 222s ====================================================================== 222s ERROR: test_exclamation_in_double_quotes (__main__.TestZsh.test_exclamation_in_double_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 222s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog spec "x 222s 222s ====================================================================== 222s ERROR: test_quoted_exact (__main__.TestZsh.test_quoted_exact) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 222s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f -- 222s 222s ====================================================================== 222s ERROR: test_quoted_space (__main__.TestZsh.test_quoted_space) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 222s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog space "f 222s 222s ====================================================================== 222s ERROR: test_single_quoted_completion (__main__.TestZsh.test_single_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 222s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic 'f 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_double_quotes (__main__.TestZsh.test_single_quotes_in_double_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 222s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote "1 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_single_quotes (__main__.TestZsh.test_single_quotes_in_single_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 222s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote '1 222s 222s ====================================================================== 222s ERROR: test_double_quoted_completion (__main__.TestZshGlobalExplicit.test_double_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 222s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f 222s 222s ====================================================================== 222s ERROR: test_exclamation_in_double_quotes (__main__.TestZshGlobalExplicit.test_exclamation_in_double_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 222s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog spec "x 222s 222s ====================================================================== 222s ERROR: test_quoted_exact (__main__.TestZshGlobalExplicit.test_quoted_exact) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 222s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f -- 222s 222s ====================================================================== 222s ERROR: test_quoted_space (__main__.TestZshGlobalExplicit.test_quoted_space) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 222s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog space "f 222s 222s ====================================================================== 222s ERROR: test_single_quoted_completion (__main__.TestZshGlobalExplicit.test_single_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 222s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic 'f 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_double_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_double_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 222s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote "1 222s 222s ====================================================================== 222s ERROR: test_single_quotes_in_single_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_single_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 222s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog quote '1 222s 222s ====================================================================== 222s ERROR: test_double_quoted_completion (__main__.TestZshGlobalImplicit.test_double_quoted_completion) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 222s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f 222s 222s ====================================================================== 222s ERROR: test_exclamation_in_double_quotes (__main__.TestZshGlobalImplicit.test_exclamation_in_double_quotes) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 222s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog spec "x 222s 222s ====================================================================== 222s ERROR: test_quoted_exact (__main__.TestZshGlobalImplicit.test_quoted_exact) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 222s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 222s ValueError: Continuation prompt found - input was incomplete: 222s prog basic "f -- 222s 222s ====================================================================== 222s ERROR: test_quoted_space (__main__.TestZshGlobalImplicit.test_quoted_space) 222s ---------------------------------------------------------------------- 222s Traceback (most recent call last): 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 222s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 222s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 222s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 222s res = super().run_command(command, **kwargs) 222s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 222s raise ValueError("Continuation prompt found - input was incomplete:\n" 222s + command) 223s ValueError: Continuation prompt found - input was incomplete: 223s prog space "f 223s 223s ====================================================================== 223s ERROR: test_single_quoted_completion (__main__.TestZshGlobalImplicit.test_single_quoted_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 223s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 223s res = super().run_command(command, **kwargs) 223s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 223s raise ValueError("Continuation prompt found - input was incomplete:\n" 223s + command) 223s ValueError: Continuation prompt found - input was incomplete: 223s prog basic 'f 223s 223s ====================================================================== 223s ERROR: test_single_quotes_in_double_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_double_quotes) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 223s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 223s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 223s res = super().run_command(command, **kwargs) 223s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 223s raise ValueError("Continuation prompt found - input was incomplete:\n" 223s + command) 223s ValueError: Continuation prompt found - input was incomplete: 223s prog quote "1 223s 223s ====================================================================== 223s ERROR: test_single_quotes_in_single_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_single_quotes) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 223s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 223s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 51, in run_command 223s res = super().run_command(command, **kwargs) 223s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 223s raise ValueError("Continuation prompt found - input was incomplete:\n" 223s + command) 223s ValueError: Continuation prompt found - input was incomplete: 223s prog quote '1 223s 223s ====================================================================== 223s FAIL: test_comp_point (__main__.TestBash.test_comp_point) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1245, in test_comp_point 223s self.assertEqual(self.sh.run_command("prog point hi\t"), "13\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'hi\r\n' != '13\r\n' 223s - hi 223s + 13 223s 223s 223s ====================================================================== 223s FAIL: test_completion_environment (__main__.TestBash.test_completion_environment) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1240, in test_completion_environment 223s self.assertEqual(self.sh.run_command("prog env o\t"), "ok\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'o\r\n' != 'ok\r\n' 223s - o 223s + ok 223s ? + 223s 223s 223s ====================================================================== 223s FAIL: test_continuation (__main__.TestBash.test_continuation) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 223s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_debug_output (__main__.TestBash.test_debug_output) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1298, in test_debug_output 223s self.assertEqual(self.sh.run_command("prog debug f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'f\r\n' != 'foo\r\n' 223s - f 223s + foo 223s ? ++ 223s 223s 223s ====================================================================== 223s FAIL: test_nounset (__main__.TestBash.test_nounset) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1315, in test_nounset 223s self.test_simple_completion() 223s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_one_space_after_exact (__main__.TestBash.test_one_space_after_exact) 223s Test exactly one space is appended after an exact match. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1295, in test_one_space_after_exact 223s self.assertEqual(result, "prog basic foo \r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'prog basic f\r\n' != 'prog basic foo \r\n' 223s - prog basic f 223s + prog basic foo 223s ? +++ 223s 223s 223s ====================================================================== 223s FAIL: test_parse_special_characters (__main__.TestBash.test_parse_special_characters) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1205, in test_parse_special_characters 223s self.assertEqual(self.sh.run_command("prog spec d$e$\tf"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_partial_completion (__main__.TestBash.test_partial_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 223s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 223s + bar 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_quotes (__main__.TestBash.test_quotes) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 223s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 223s + 1'1 223s - usage: prog quote [-h] {1'1,2"2} 223s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 223s 223s 223s ====================================================================== 223s FAIL: test_simple_completion (__main__.TestBash.test_simple_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters (__main__.TestBash.test_special_characters) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 223s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_double_quoted (__main__.TestBash.test_special_characters_double_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 223s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_single_quoted (__main__.TestBash.test_special_characters_single_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 223s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_temp_file (__main__.TestBash.test_temp_file) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1307, in test_temp_file 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_unquoted_space (__main__.TestBash.test_unquoted_space) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 223s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 223s + foo bar 223s - usage: prog space [-h] {foo bar,baz} 223s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_wordbreak_chars (__main__.TestBash.test_wordbreak_chars) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 223s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 223s + a:b:c 223s - usage: prog break [-h] {a:b:c,a:b:d} 223s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 223s 223s 223s ====================================================================== 223s FAIL: test_comp_point (__main__.TestBashGlobal.test_comp_point) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1245, in test_comp_point 223s self.assertEqual(self.sh.run_command("prog point hi\t"), "13\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'hi\r\n' != '13\r\n' 223s - hi 223s + 13 223s 223s 223s ====================================================================== 223s FAIL: test_completion_environment (__main__.TestBashGlobal.test_completion_environment) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1240, in test_completion_environment 223s self.assertEqual(self.sh.run_command("prog env o\t"), "ok\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'o\r\n' != 'ok\r\n' 223s - o 223s + ok 223s ? + 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_module (__main__.TestBashGlobal.test_console_script_module) 223s Test completing a console_script for a module. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 223s self._test_console_script() 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-module [-h] {arg} 223s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_module_wheel (__main__.TestBashGlobal.test_console_script_module_wheel) 223s Test completing a console_script for a module from a wheel. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 223s self._test_console_script(wheel=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-module [-h] {arg} 223s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_package (__main__.TestBashGlobal.test_console_script_package) 223s Test completing a console_script for a package. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 223s self._test_console_script(package=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-package [-h] {arg} 223s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_package_wheel (__main__.TestBashGlobal.test_console_script_package_wheel) 223s Test completing a console_script for a package from a wheel. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 223s self._test_console_script(package=True, wheel=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-package [-h] {arg} 223s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_continuation (__main__.TestBashGlobal.test_continuation) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 223s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_debug_output (__main__.TestBashGlobal.test_debug_output) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1298, in test_debug_output 223s self.assertEqual(self.sh.run_command("prog debug f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'f\r\n' != 'foo\r\n' 223s - f 223s + foo 223s ? ++ 223s 223s 223s ====================================================================== 223s FAIL: test_nounset (__main__.TestBashGlobal.test_nounset) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1315, in test_nounset 223s self.test_simple_completion() 223s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_one_space_after_exact (__main__.TestBashGlobal.test_one_space_after_exact) 223s Test exactly one space is appended after an exact match. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1295, in test_one_space_after_exact 223s self.assertEqual(result, "prog basic foo \r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'prog basic f\r\n' != 'prog basic foo \r\n' 223s - prog basic f 223s + prog basic foo 223s ? +++ 223s 223s 223s ====================================================================== 223s FAIL: test_parse_special_characters (__main__.TestBashGlobal.test_parse_special_characters) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1205, in test_parse_special_characters 223s self.assertEqual(self.sh.run_command("prog spec d$e$\tf"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_partial_completion (__main__.TestBashGlobal.test_partial_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 223s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 223s + bar 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_completion (__main__.TestBashGlobal.test_python_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 223s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_filename_completion (__main__.TestBashGlobal.test_python_filename_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 223s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_module (__main__.TestBashGlobal.test_python_module) 223s Test completing a module run with python -m. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 223s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog.py basic [-h] {foo,bar,baz}\r\nprog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog.py basic [-h] {foo,bar,baz} 223s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_not_executable (__main__.TestBashGlobal.test_python_not_executable) 223s Test completing a script that cannot be run directly. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 223s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_quotes (__main__.TestBashGlobal.test_quotes) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 223s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 223s + 1'1 223s - usage: prog quote [-h] {1'1,2"2} 223s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 223s 223s 223s ====================================================================== 223s FAIL: test_simple_completion (__main__.TestBashGlobal.test_simple_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters (__main__.TestBashGlobal.test_special_characters) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 223s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_double_quoted (__main__.TestBashGlobal.test_special_characters_double_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 223s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_single_quoted (__main__.TestBashGlobal.test_special_characters_single_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 223s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_temp_file (__main__.TestBashGlobal.test_temp_file) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1307, in test_temp_file 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_unquoted_space (__main__.TestBashGlobal.test_unquoted_space) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 223s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 223s + foo bar 223s - usage: prog space [-h] {foo bar,baz} 223s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_wordbreak_chars (__main__.TestBashGlobal.test_wordbreak_chars) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 223s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 223s + a:b:c 223s - usage: prog break [-h] {a:b:c,a:b:d} 223s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 223s 223s 223s ====================================================================== 223s FAIL: test_continuation (__main__.TestZsh.test_continuation) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 223s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_partial_completion (__main__.TestZsh.test_partial_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 223s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 223s + bar 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_quotes (__main__.TestZsh.test_quotes) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 223s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 223s + 1'1 223s - usage: prog quote [-h] {1'1,2"2} 223s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 223s 223s 223s ====================================================================== 223s FAIL: test_simple_completion (__main__.TestZsh.test_simple_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters (__main__.TestZsh.test_special_characters) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 223s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_double_quoted (__main__.TestZsh.test_special_characters_double_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 223s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_single_quoted (__main__.TestZsh.test_special_characters_single_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 223s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_unquoted_space (__main__.TestZsh.test_unquoted_space) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 223s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 223s + foo bar 223s - usage: prog space [-h] {foo bar,baz} 223s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_wordbreak_chars (__main__.TestZsh.test_wordbreak_chars) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 223s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 223s + a:b:c 223s - usage: prog break [-h] {a:b:c,a:b:d} 223s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_module (__main__.TestZshGlobalExplicit.test_console_script_module) 223s Test completing a console_script for a module. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 223s self._test_console_script() 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-module [-h] {arg} 223s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_module_wheel (__main__.TestZshGlobalExplicit.test_console_script_module_wheel) 223s Test completing a console_script for a module from a wheel. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 223s self._test_console_script(wheel=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-module [-h] {arg} 223s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_package (__main__.TestZshGlobalExplicit.test_console_script_package) 223s Test completing a console_script for a package. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 223s self._test_console_script(package=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-package [-h] {arg} 223s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_package_wheel (__main__.TestZshGlobalExplicit.test_console_script_package_wheel) 223s Test completing a console_script for a package from a wheel. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 223s self._test_console_script(package=True, wheel=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-package [-h] {arg} 223s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_continuation (__main__.TestZshGlobalExplicit.test_continuation) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 223s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_partial_completion (__main__.TestZshGlobalExplicit.test_partial_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 223s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 223s + bar 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_completion (__main__.TestZshGlobalExplicit.test_python_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 223s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_filename_completion (__main__.TestZshGlobalExplicit.test_python_filename_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 223s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_module (__main__.TestZshGlobalExplicit.test_python_module) 223s Test completing a module run with python -m. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 223s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog.py basic [-h] {foo,bar,baz}\r\nprog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog.py basic [-h] {foo,bar,baz} 223s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_not_executable (__main__.TestZshGlobalExplicit.test_python_not_executable) 223s Test completing a script that cannot be run directly. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 223s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_quotes (__main__.TestZshGlobalExplicit.test_quotes) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 223s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 223s + 1'1 223s - usage: prog quote [-h] {1'1,2"2} 223s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 223s 223s 223s ====================================================================== 223s FAIL: test_simple_completion (__main__.TestZshGlobalExplicit.test_simple_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters (__main__.TestZshGlobalExplicit.test_special_characters) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 223s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_double_quoted (__main__.TestZshGlobalExplicit.test_special_characters_double_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 223s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_single_quoted (__main__.TestZshGlobalExplicit.test_special_characters_single_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 223s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_unquoted_space (__main__.TestZshGlobalExplicit.test_unquoted_space) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 223s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 223s + foo bar 223s - usage: prog space [-h] {foo bar,baz} 223s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_wordbreak_chars (__main__.TestZshGlobalExplicit.test_wordbreak_chars) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 223s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 223s + a:b:c 223s - usage: prog break [-h] {a:b:c,a:b:d} 223s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_module (__main__.TestZshGlobalImplicit.test_console_script_module) 223s Test completing a console_script for a module. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 223s self._test_console_script() 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-module [-h] {arg} 223s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_module_wheel (__main__.TestZshGlobalImplicit.test_console_script_module_wheel) 223s Test completing a console_script for a module from a wheel. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 223s self._test_console_script(wheel=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-module [-h] {arg} 223s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_package (__main__.TestZshGlobalImplicit.test_console_script_package) 223s Test completing a console_script for a package. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 223s self._test_console_script(package=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-package [-h] {arg} 223s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_console_script_package_wheel (__main__.TestZshGlobalImplicit.test_console_script_package_wheel) 223s Test completing a console_script for a package from a wheel. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 223s self._test_console_script(package=True, wheel=True) 223s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 223s self.assertEqual(self.sh.run_command(command), "arg\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 223s + arg 223s - usage: test-package [-h] {arg} 223s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 223s 223s 223s ====================================================================== 223s FAIL: test_continuation (__main__.TestZshGlobalImplicit.test_continuation) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 223s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_partial_completion (__main__.TestZshGlobalImplicit.test_partial_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 223s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 223s + bar 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_completion (__main__.TestZshGlobalImplicit.test_python_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 223s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_filename_completion (__main__.TestZshGlobalImplicit.test_python_filename_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 223s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_module (__main__.TestZshGlobalImplicit.test_python_module) 223s Test completing a module run with python -m. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 223s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog.py basic [-h] {foo,bar,baz}\r\nprog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog.py basic [-h] {foo,bar,baz} 223s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_python_not_executable (__main__.TestZshGlobalImplicit.test_python_not_executable) 223s Test completing a script that cannot be run directly. 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 223s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_quotes (__main__.TestZshGlobalImplicit.test_quotes) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 223s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 223s + 1'1 223s - usage: prog quote [-h] {1'1,2"2} 223s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 223s 223s 223s ====================================================================== 223s FAIL: test_simple_completion (__main__.TestZshGlobalImplicit.test_simple_completion) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 223s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 223s + foo 223s - usage: prog basic [-h] {foo,bar,baz} 223s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters (__main__.TestZshGlobalImplicit.test_special_characters) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 223s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_double_quoted (__main__.TestZshGlobalImplicit.test_special_characters_double_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 223s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_special_characters_single_quoted (__main__.TestZshGlobalImplicit.test_special_characters_single_quoted) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 223s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 223s + d$e$f 223s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 223s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 223s 223s 223s ====================================================================== 223s FAIL: test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 223s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 223s + foo bar 223s - usage: prog space [-h] {foo bar,baz} 223s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 223s 223s 223s ====================================================================== 223s FAIL: test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars) 223s ---------------------------------------------------------------------- 223s Traceback (most recent call last): 223s File "/tmp/autopkgtest.6HmXTK/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 223s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 223s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 223s + a:b:c 223s - usage: prog break [-h] {a:b:c,a:b:d} 223s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 223s 223s 223s ---------------------------------------------------------------------- 223s Ran 189 tests in 124.311s 223s 223s FAILED (failures=83, errors=69, skipped=12, expected failures=5) 235s autopkgtest [05:09:03]: test unittests: -----------------------] 235s autopkgtest [05:09:03]: test unittests: - - - - - - - - - - results - - - - - - - - - - 235s unittests FAIL non-zero exit status 1 236s autopkgtest [05:09:04]: @@@@@@@@@@@@@@@@@@@@ summary 236s unittests FAIL non-zero exit status 1 247s nova [W] Skipping flock in bos03-arm64 247s Creating nova instance adt-plucky-arm64-python-argcomplete-20241114-050508-juju-7f2275-prod-proposed-migration-environment-20-6fd400a0-fe37-4b4c-8f03-e2f6a32474da from image adt/ubuntu-plucky-arm64-server-20241114.img (UUID 4472f5f7-859f-4441-9e8e-9550fb35f210)...