0s autopkgtest [20:47:28]: starting date and time: 2024-11-15 20:47:28+0000 0s autopkgtest [20:47:28]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [20:47:28]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4sqq3r3l/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --apt-pocket=proposed=src:wheel --apt-upgrade python-argcomplete --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=wheel/0.45.0-1 -- lxd -r lxd-armhf-10.145.243.240 lxd-armhf-10.145.243.240:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [20:48:22]: testbed dpkg architecture: armhf 55s autopkgtest [20:48:23]: testbed apt version: 2.9.8 55s autopkgtest [20:48:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 63s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1044 kB] 63s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [93.0 kB] 63s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 63s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 63s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [145 kB] 63s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [748 kB] 63s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [4428 B] 64s Fetched 2130 kB in 1s (2486 kB/s) 64s Reading package lists... 80s tee: /proc/self/fd/2: Permission denied 102s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 102s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 102s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 102s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 103s Reading package lists... 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 104s Calculating upgrade... 105s The following NEW packages will be installed: 105s libassuan9 105s The following packages will be upgraded: 105s libgpgme11t64 libseccomp2 python3-cffi-backend python3-markupsafe 105s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 105s Need to get 297 kB of archives. 105s After this operation, 224 kB of additional disk space will be used. 105s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libseccomp2 armhf 2.5.5-1ubuntu5 [49.3 kB] 105s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cffi-backend armhf 1.17.1-2build1 [75.9 kB] 105s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libassuan9 armhf 3.0.1-2 [34.3 kB] 105s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.0-2ubuntu1 [125 kB] 105s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-markupsafe armhf 2.1.5-1build3 [12.5 kB] 105s Fetched 297 kB in 0s (631 kB/s) 106s (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 ... 59566 files and directories currently installed.) 106s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu5_armhf.deb ... 106s Unpacking libseccomp2:armhf (2.5.5-1ubuntu5) over (2.5.5-1ubuntu4) ... 106s Setting up libseccomp2:armhf (2.5.5-1ubuntu5) ... 106s (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 ... 59566 files and directories currently installed.) 106s Preparing to unpack .../python3-cffi-backend_1.17.1-2build1_armhf.deb ... 106s Unpacking python3-cffi-backend:armhf (1.17.1-2build1) over (1.17.1-2) ... 106s Selecting previously unselected package libassuan9:armhf. 106s Preparing to unpack .../libassuan9_3.0.1-2_armhf.deb ... 106s Unpacking libassuan9:armhf (3.0.1-2) ... 106s Preparing to unpack .../libgpgme11t64_1.24.0-2ubuntu1_armhf.deb ... 106s Unpacking libgpgme11t64:armhf (1.24.0-2ubuntu1) over (1.23.2-5ubuntu4) ... 106s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_armhf.deb ... 106s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 106s Setting up python3-markupsafe (2.1.5-1build3) ... 106s Setting up libassuan9:armhf (3.0.1-2) ... 106s Setting up libgpgme11t64:armhf (1.24.0-2ubuntu1) ... 106s Setting up python3-cffi-backend:armhf (1.17.1-2build1) ... 106s Processing triggers for libc-bin (2.40-1ubuntu3) ... 106s Reading package lists... 107s Building dependency tree... 107s Reading state information... 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s autopkgtest [20:49:17]: rebooting testbed after setup commands that affected boot 178s autopkgtest [20:50:26]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 204s autopkgtest [20:50:52]: @@@@@@@@@@@@@@@@@@@@ apt-source python-argcomplete 214s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (dsc) [2429 B] 214s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (tar) [82.3 kB] 214s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (diff) [7072 B] 214s gpgv: Signature made Wed Oct 23 09:11:22 2024 UTC 214s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 214s gpgv: issuer "tchet@debian.org" 214s gpgv: Can't check signature: No public key 214s dpkg-source: warning: cannot verify inline signature for ./python-argcomplete_3.5.1-1.dsc: no acceptable signature found 214s autopkgtest [20:51:02]: testing package python-argcomplete version 3.5.1-1 216s autopkgtest [20:51:04]: build not needed 218s autopkgtest [20:51:06]: test unittests: preparing testbed 228s Reading package lists... 228s Building dependency tree... 228s Reading state information... 229s Starting pkgProblemResolver with broken count: 0 229s Starting 2 pkgProblemResolver with broken count: 0 229s Done 229s The following additional packages will be installed: 229s fish fish-common libpcre2-32-0 python3-all python3-argcomplete 229s python3-pexpect python3-pip python3-ptyprocess python3-wheel tcsh zsh 229s zsh-common 229s Suggested packages: 229s doc-base python-pexpect-doc zsh-doc 229s Recommended packages: 229s xsel lynx | www-browser build-essential python3-dev libjs-sphinxdoc 229s The following NEW packages will be installed: 229s autopkgtest-satdep fish fish-common libpcre2-32-0 python3-all 229s python3-argcomplete python3-pexpect python3-pip python3-ptyprocess 229s python3-wheel tcsh zsh zsh-common 230s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 230s Need to get 9567 kB/9568 kB of archives. 230s After this operation, 46.8 MB of additional disk space will be used. 230s Get:1 /tmp/autopkgtest.PaZZF7/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [756 B] 230s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf fish-common all 3.7.1-1 [1635 kB] 230s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 230s Get:4 http://ftpmaster.internal/ubuntu plucky/universe armhf fish armhf 3.7.1-1 [909 kB] 230s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 230s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-argcomplete all 3.5.1-1 [35.4 kB] 230s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf python3-ptyprocess all 0.7.0-6 [14.8 kB] 230s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pexpect all 4.9-2 [48.1 kB] 230s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-wheel all 0.45.0-1 [57.7 kB] 230s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pip all 24.2+dfsg-1 [1398 kB] 230s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf tcsh armhf 6.24.13-2 [417 kB] 230s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf zsh-common all 5.9-6ubuntu3 [4170 kB] 230s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf zsh armhf 5.9-6ubuntu3 [707 kB] 231s Fetched 9567 kB in 1s (10.8 MB/s) 231s Selecting previously unselected package fish-common. 231s (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 ... 59573 files and directories currently installed.) 231s Preparing to unpack .../00-fish-common_3.7.1-1_all.deb ... 231s Unpacking fish-common (3.7.1-1) ... 231s Selecting previously unselected package libpcre2-32-0:armhf. 231s Preparing to unpack .../01-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 231s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 231s Selecting previously unselected package fish. 231s Preparing to unpack .../02-fish_3.7.1-1_armhf.deb ... 231s Unpacking fish (3.7.1-1) ... 231s Selecting previously unselected package python3-all. 231s Preparing to unpack .../03-python3-all_3.12.6-0ubuntu1_armhf.deb ... 231s Unpacking python3-all (3.12.6-0ubuntu1) ... 231s Selecting previously unselected package python3-argcomplete. 231s Preparing to unpack .../04-python3-argcomplete_3.5.1-1_all.deb ... 231s Unpacking python3-argcomplete (3.5.1-1) ... 231s Selecting previously unselected package python3-ptyprocess. 231s Preparing to unpack .../05-python3-ptyprocess_0.7.0-6_all.deb ... 231s Unpacking python3-ptyprocess (0.7.0-6) ... 231s Selecting previously unselected package python3-pexpect. 231s Preparing to unpack .../06-python3-pexpect_4.9-2_all.deb ... 231s Unpacking python3-pexpect (4.9-2) ... 231s Selecting previously unselected package python3-wheel. 231s Preparing to unpack .../07-python3-wheel_0.45.0-1_all.deb ... 231s Unpacking python3-wheel (0.45.0-1) ... 231s Selecting previously unselected package python3-pip. 231s Preparing to unpack .../08-python3-pip_24.2+dfsg-1_all.deb ... 231s Unpacking python3-pip (24.2+dfsg-1) ... 232s Selecting previously unselected package tcsh. 232s Preparing to unpack .../09-tcsh_6.24.13-2_armhf.deb ... 232s Unpacking tcsh (6.24.13-2) ... 232s Selecting previously unselected package zsh-common. 232s Preparing to unpack .../10-zsh-common_5.9-6ubuntu3_all.deb ... 232s Unpacking zsh-common (5.9-6ubuntu3) ... 232s Selecting previously unselected package zsh. 232s Preparing to unpack .../11-zsh_5.9-6ubuntu3_armhf.deb ... 232s Unpacking zsh (5.9-6ubuntu3) ... 232s Selecting previously unselected package autopkgtest-satdep. 232s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 232s Unpacking autopkgtest-satdep (0) ... 232s Setting up zsh-common (5.9-6ubuntu3) ... 232s Setting up python3-all (3.12.6-0ubuntu1) ... 232s Setting up python3-wheel (0.45.0-1) ... 232s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 232s Setting up python3-pip (24.2+dfsg-1) ... 233s Setting up zsh (5.9-6ubuntu3) ... 233s Setting up python3-argcomplete (3.5.1-1) ... 233s Setting up fish-common (3.7.1-1) ... 233s Setting up tcsh (6.24.13-2) ... 233s update-alternatives: using /bin/tcsh to provide /bin/csh (csh) in auto mode 233s Setting up python3-ptyprocess (0.7.0-6) ... 234s Setting up python3-pexpect (4.9-2) ... 234s Setting up fish (3.7.1-1) ... 234s Setting up autopkgtest-satdep (0) ... 234s Processing triggers for man-db (2.13.0-1) ... 234s Processing triggers for debianutils (5.20) ... 235s Processing triggers for libc-bin (2.40-1ubuntu3) ... 246s (Reading database ... 63564 files and directories currently installed.) 246s Removing autopkgtest-satdep (0) ... 251s autopkgtest [20:51:39]: test unittests: [----------------------- 253s === python3.12 === 253s test_action_activation (__main__.TestArgcomplete.test_action_activation) ... ERROR 253s test_action_activation_with_subparser (__main__.TestArgcomplete.test_action_activation_with_subparser) ... ERROR 253s test_append_space (__main__.TestArgcomplete.test_append_space) ... ERROR 253s test_basic_completion (__main__.TestArgcomplete.test_basic_completion) ... ERROR 253s test_choices (__main__.TestArgcomplete.test_choices) ... ERROR 253s test_completers (__main__.TestArgcomplete.test_completers) ... ERROR 254s test_custom_validator (__main__.TestArgcomplete.test_custom_validator) ... ERROR 254s test_default_completer (__main__.TestArgcomplete.test_default_completer) ... ERROR 254s test_different_validators (__main__.TestArgcomplete.test_different_validators) ... ERROR 254s test_directory_completion (__main__.TestArgcomplete.test_directory_completion) ... ok 254s test_display_completions (__main__.TestArgcomplete.test_display_completions) ... ERROR 254s test_display_completions_with_aliases (__main__.TestArgcomplete.test_display_completions_with_aliases) ... ERROR 254s test_escape_special_chars (__main__.TestArgcomplete.test_escape_special_chars) ... ERROR 254s test_exclusive (__main__.TestArgcomplete.test_exclusive) ... ERROR 254s test_exclusive_class (__main__.TestArgcomplete.test_exclusive_class) ... ERROR 254s test_file_completion (__main__.TestArgcomplete.test_file_completion) ... ok 254s test_filescompleter_filetype_integration (__main__.TestArgcomplete.test_filescompleter_filetype_integration) ... ERROR 254s test_mixed_optional_positional (__main__.TestArgcomplete.test_mixed_optional_positional) ... ERROR 254s test_nargs_one_or_more (__main__.TestArgcomplete.test_nargs_one_or_more) ... ERROR 254s test_nargs_optional (__main__.TestArgcomplete.test_nargs_optional) ... ERROR 254s test_nargs_zero_or_more (__main__.TestArgcomplete.test_nargs_zero_or_more) ... ERROR 254s test_non_ascii (__main__.TestArgcomplete.test_non_ascii) ... ERROR 254s test_non_str_choices (__main__.TestArgcomplete.test_non_str_choices) ... ERROR 254s test_option_help (__main__.TestArgcomplete.test_option_help) ... ERROR 254s test_optional_long_short_filtering (__main__.TestArgcomplete.test_optional_long_short_filtering) ... ERROR 254s test_optional_nargs (__main__.TestArgcomplete.test_optional_nargs) ... ERROR 254s test_positional_remainder (__main__.TestArgcomplete.test_positional_remainder) ... ERROR 254s test_readline_entry_point (__main__.TestArgcomplete.test_readline_entry_point) ... ERROR 254s test_shellcode_utility (__main__.TestArgcomplete.test_shellcode_utility) ... ok 254s test_skipped_completer (__main__.TestArgcomplete.test_skipped_completer) ... ERROR 254s test_subparser_completers (__main__.TestArgcomplete.test_subparser_completers) ... ERROR 254s test_subparsers (__main__.TestArgcomplete.test_subparsers) ... ERROR 254s test_suppress_args (__main__.TestArgcomplete.test_suppress_args) ... ERROR 254s test_suppress_completer (__main__.TestArgcomplete.test_suppress_completer) ... ERROR 254s test_repl_multiple_complete (__main__.TestArgcompleteREPL.test_repl_multiple_complete) ... ERROR 254s test_repl_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_parse_after_complete) ... ERROR 254s test_repl_reuse_parser_with_positional (__main__.TestArgcompleteREPL.test_repl_reuse_parser_with_positional) ... ERROR 254s test_repl_subcommand (__main__.TestArgcompleteREPL.test_repl_subcommand) ... ERROR 254s test_repl_subparser_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_subparser_parse_after_complete) ... ERROR 255s test_comp_point (__main__.TestBash.test_comp_point) ... FAIL 255s test_completion_environment (__main__.TestBash.test_completion_environment) ... FAIL 256s test_continuation (__main__.TestBash.test_continuation) ... FAIL 257s test_debug_output (__main__.TestBash.test_debug_output) ... FAIL 258s test_double_quoted_completion (__main__.TestBash.test_double_quoted_completion) ... ERROR 259s test_exclamation_in_double_quotes (__main__.TestBash.test_exclamation_in_double_quotes) ... expected failure 260s test_nounset (__main__.TestBash.test_nounset) ... FAIL 260s test_one_space_after_exact (__main__.TestBash.test_one_space_after_exact) 260s Test exactly one space is appended after an exact match. ... FAIL 261s test_parse_special_characters (__main__.TestBash.test_parse_special_characters) ... FAIL 262s test_parse_special_characters_dollar (__main__.TestBash.test_parse_special_characters_dollar) ... expected failure 263s test_partial_completion (__main__.TestBash.test_partial_completion) ... FAIL 264s test_quoted_exact (__main__.TestBash.test_quoted_exact) ... ERROR 265s test_quoted_space (__main__.TestBash.test_quoted_space) ... ERROR 265s test_quotes (__main__.TestBash.test_quotes) ... FAIL 266s test_simple_completion (__main__.TestBash.test_simple_completion) ... FAIL 267s test_single_quoted_completion (__main__.TestBash.test_single_quoted_completion) ... ERROR 268s test_single_quotes_in_double_quotes (__main__.TestBash.test_single_quotes_in_double_quotes) ... ERROR 269s test_single_quotes_in_single_quotes (__main__.TestBash.test_single_quotes_in_single_quotes) ... ERROR 269s test_special_characters (__main__.TestBash.test_special_characters) ... FAIL 270s test_special_characters_double_quoted (__main__.TestBash.test_special_characters_double_quoted) ... FAIL 271s test_special_characters_single_quoted (__main__.TestBash.test_special_characters_single_quoted) ... FAIL 272s test_temp_file (__main__.TestBash.test_temp_file) ... FAIL 273s test_unquoted_space (__main__.TestBash.test_unquoted_space) ... FAIL 274s test_wordbreak_chars (__main__.TestBash.test_wordbreak_chars) ... FAIL 275s test_comp_point (__main__.TestBashGlobal.test_comp_point) ... FAIL 275s test_completion_environment (__main__.TestBashGlobal.test_completion_environment) ... FAIL 275s test_console_script_module (__main__.TestBashGlobal.test_console_script_module) 278s Test completing a console_script for a module. ... FAIL 278s test_console_script_module_wheel (__main__.TestBashGlobal.test_console_script_module_wheel) 281s Test completing a console_script for a module from a wheel. ... FAIL 281s test_console_script_package (__main__.TestBashGlobal.test_console_script_package) 283s Test completing a console_script for a package. ... FAIL 283s test_console_script_package_wheel (__main__.TestBashGlobal.test_console_script_package_wheel) 286s Test completing a console_script for a package from a wheel. ... FAIL 287s test_continuation (__main__.TestBashGlobal.test_continuation) ... FAIL 288s test_debug_output (__main__.TestBashGlobal.test_debug_output) ... FAIL 288s test_double_quoted_completion (__main__.TestBashGlobal.test_double_quoted_completion) ... ERROR 289s test_exclamation_in_double_quotes (__main__.TestBashGlobal.test_exclamation_in_double_quotes) ... expected failure 290s test_nounset (__main__.TestBashGlobal.test_nounset) ... FAIL 290s test_one_space_after_exact (__main__.TestBashGlobal.test_one_space_after_exact) 291s Test exactly one space is appended after an exact match. ... FAIL 292s test_parse_special_characters (__main__.TestBashGlobal.test_parse_special_characters) ... FAIL 293s test_parse_special_characters_dollar (__main__.TestBashGlobal.test_parse_special_characters_dollar) ... expected failure 294s test_partial_completion (__main__.TestBashGlobal.test_partial_completion) ... FAIL 294s test_python_completion (__main__.TestBashGlobal.test_python_completion) ... FAIL 295s test_python_filename_completion (__main__.TestBashGlobal.test_python_filename_completion) ... FAIL 295s test_python_module (__main__.TestBashGlobal.test_python_module) 296s Test completing a module run with python -m. ... FAIL 296s test_python_not_executable (__main__.TestBashGlobal.test_python_not_executable) 297s Test completing a script that cannot be run directly. ... FAIL 298s test_python_stuck (__main__.TestBashGlobal.test_python_stuck) ... ok 299s test_quoted_exact (__main__.TestBashGlobal.test_quoted_exact) ... ERROR 300s test_quoted_space (__main__.TestBashGlobal.test_quoted_space) ... ERROR 301s test_quotes (__main__.TestBashGlobal.test_quotes) ... FAIL 301s test_redirection_completion (__main__.TestBashGlobal.test_redirection_completion) ... ok 302s test_simple_completion (__main__.TestBashGlobal.test_simple_completion) ... FAIL 303s test_single_quoted_completion (__main__.TestBashGlobal.test_single_quoted_completion) ... ERROR 304s test_single_quotes_in_double_quotes (__main__.TestBashGlobal.test_single_quotes_in_double_quotes) ... ERROR 305s test_single_quotes_in_single_quotes (__main__.TestBashGlobal.test_single_quotes_in_single_quotes) ... ERROR 305s test_special_characters (__main__.TestBashGlobal.test_special_characters) ... FAIL 306s test_special_characters_double_quoted (__main__.TestBashGlobal.test_special_characters_double_quoted) ... FAIL 307s test_special_characters_single_quoted (__main__.TestBashGlobal.test_special_characters_single_quoted) ... FAIL 308s test_temp_file (__main__.TestBashGlobal.test_temp_file) ... FAIL 309s test_unquoted_space (__main__.TestBashGlobal.test_unquoted_space) ... FAIL 310s test_wordbreak_chars (__main__.TestBashGlobal.test_wordbreak_chars) ... FAIL 310s test_module (__main__.TestCheckModule.test_module) ... ok 310s test_not_package (__main__.TestCheckModule.test_not_package) ... ok 310s test_package (__main__.TestCheckModule.test_package) ... ok 310s test_package_main (__main__.TestCheckModule.test_package_main) ... ok 310s test_subpackage (__main__.TestCheckModule.test_subpackage) ... ok 310s test_escaped_special (__main__.TestSplitLine.test_escaped_special) ... ok 310s test_escaped_special_in_double_quotes (__main__.TestSplitLine.test_escaped_special_in_double_quotes) ... expected failure 310s test_last_wordbreak_pos (__main__.TestSplitLine.test_last_wordbreak_pos) ... ok 310s test_punctuation (__main__.TestSplitLine.test_punctuation) ... ok 310s test_simple (__main__.TestSplitLine.test_simple) ... ok 310s test_unescaped_special (__main__.TestSplitLine.test_unescaped_special) ... ok 310s test_comp_point (__main__.TestZsh.test_comp_point) ... skipped 'skip' 310s test_completion_environment (__main__.TestZsh.test_completion_environment) ... skipped 'skip' 311s test_continuation (__main__.TestZsh.test_continuation) ... FAIL 312s test_double_quoted_completion (__main__.TestZsh.test_double_quoted_completion) ... ERROR 313s test_exclamation_in_double_quotes (__main__.TestZsh.test_exclamation_in_double_quotes) ... ERROR 313s test_parse_special_characters (__main__.TestZsh.test_parse_special_characters) ... skipped 'skip' 313s test_parse_special_characters_dollar (__main__.TestZsh.test_parse_special_characters_dollar) ... skipped 'skip' 314s test_partial_completion (__main__.TestZsh.test_partial_completion) ... FAIL 315s test_quoted_exact (__main__.TestZsh.test_quoted_exact) ... ERROR 316s test_quoted_space (__main__.TestZsh.test_quoted_space) ... ERROR 317s test_quotes (__main__.TestZsh.test_quotes) ... FAIL 318s test_simple_completion (__main__.TestZsh.test_simple_completion) ... FAIL 319s test_single_quoted_completion (__main__.TestZsh.test_single_quoted_completion) ... ERROR 319s test_single_quotes_in_double_quotes (__main__.TestZsh.test_single_quotes_in_double_quotes) ... ERROR 320s test_single_quotes_in_single_quotes (__main__.TestZsh.test_single_quotes_in_single_quotes) ... ERROR 321s test_special_characters (__main__.TestZsh.test_special_characters) ... FAIL 322s test_special_characters_double_quoted (__main__.TestZsh.test_special_characters_double_quoted) ... FAIL 323s test_special_characters_single_quoted (__main__.TestZsh.test_special_characters_single_quoted) ... FAIL 324s test_unquoted_space (__main__.TestZsh.test_unquoted_space) ... FAIL 325s test_wordbreak_chars (__main__.TestZsh.test_wordbreak_chars) ... FAIL 325s test_comp_point (__main__.TestZshGlobalExplicit.test_comp_point) ... skipped 'skip' 325s test_completion_environment (__main__.TestZshGlobalExplicit.test_completion_environment) ... skipped 'skip' 325s test_console_script_module (__main__.TestZshGlobalExplicit.test_console_script_module) 328s Test completing a console_script for a module. ... FAIL 328s test_console_script_module_wheel (__main__.TestZshGlobalExplicit.test_console_script_module_wheel) 330s Test completing a console_script for a module from a wheel. ... FAIL 330s test_console_script_package (__main__.TestZshGlobalExplicit.test_console_script_package) 333s Test completing a console_script for a package. ... FAIL 333s test_console_script_package_wheel (__main__.TestZshGlobalExplicit.test_console_script_package_wheel) 335s Test completing a console_script for a package from a wheel. ... FAIL 336s test_continuation (__main__.TestZshGlobalExplicit.test_continuation) ... FAIL 337s test_double_quoted_completion (__main__.TestZshGlobalExplicit.test_double_quoted_completion) ... ERROR 338s test_exclamation_in_double_quotes (__main__.TestZshGlobalExplicit.test_exclamation_in_double_quotes) ... ERROR 338s test_parse_special_characters (__main__.TestZshGlobalExplicit.test_parse_special_characters) ... skipped 'skip' 338s test_parse_special_characters_dollar (__main__.TestZshGlobalExplicit.test_parse_special_characters_dollar) ... skipped 'skip' 339s test_partial_completion (__main__.TestZshGlobalExplicit.test_partial_completion) ... FAIL 340s test_python_completion (__main__.TestZshGlobalExplicit.test_python_completion) ... FAIL 342s test_python_filename_completion (__main__.TestZshGlobalExplicit.test_python_filename_completion) ... FAIL 342s test_python_module (__main__.TestZshGlobalExplicit.test_python_module) 343s Test completing a module run with python -m. ... FAIL 343s test_python_not_executable (__main__.TestZshGlobalExplicit.test_python_not_executable) 344s Test completing a script that cannot be run directly. ... FAIL 345s test_python_stuck (__main__.TestZshGlobalExplicit.test_python_stuck) ... ok 346s test_quoted_exact (__main__.TestZshGlobalExplicit.test_quoted_exact) ... ERROR 346s test_quoted_space (__main__.TestZshGlobalExplicit.test_quoted_space) ... ERROR 347s test_quotes (__main__.TestZshGlobalExplicit.test_quotes) ... FAIL 348s test_redirection_completion (__main__.TestZshGlobalExplicit.test_redirection_completion) ... ok 349s test_simple_completion (__main__.TestZshGlobalExplicit.test_simple_completion) ... FAIL 350s test_single_quoted_completion (__main__.TestZshGlobalExplicit.test_single_quoted_completion) ... ERROR 351s test_single_quotes_in_double_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_double_quotes) ... ERROR 352s test_single_quotes_in_single_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_single_quotes) ... ERROR 353s test_special_characters (__main__.TestZshGlobalExplicit.test_special_characters) ... FAIL 354s test_special_characters_double_quoted (__main__.TestZshGlobalExplicit.test_special_characters_double_quoted) ... FAIL 355s test_special_characters_single_quoted (__main__.TestZshGlobalExplicit.test_special_characters_single_quoted) ... FAIL 356s test_unquoted_space (__main__.TestZshGlobalExplicit.test_unquoted_space) ... FAIL 357s test_wordbreak_chars (__main__.TestZshGlobalExplicit.test_wordbreak_chars) ... FAIL 357s test_comp_point (__main__.TestZshGlobalImplicit.test_comp_point) ... skipped 'skip' 357s test_completion_environment (__main__.TestZshGlobalImplicit.test_completion_environment) ... skipped 'skip' 357s test_console_script_module (__main__.TestZshGlobalImplicit.test_console_script_module) 360s Test completing a console_script for a module. ... FAIL 360s test_console_script_module_wheel (__main__.TestZshGlobalImplicit.test_console_script_module_wheel) 362s Test completing a console_script for a module from a wheel. ... FAIL 362s test_console_script_package (__main__.TestZshGlobalImplicit.test_console_script_package) 365s Test completing a console_script for a package. ... FAIL 365s test_console_script_package_wheel (__main__.TestZshGlobalImplicit.test_console_script_package_wheel) 367s Test completing a console_script for a package from a wheel. ... FAIL 368s test_continuation (__main__.TestZshGlobalImplicit.test_continuation) ... FAIL 369s test_double_quoted_completion (__main__.TestZshGlobalImplicit.test_double_quoted_completion) ... ERROR 370s test_exclamation_in_double_quotes (__main__.TestZshGlobalImplicit.test_exclamation_in_double_quotes) ... ERROR 370s test_parse_special_characters (__main__.TestZshGlobalImplicit.test_parse_special_characters) ... skipped 'skip' 370s test_parse_special_characters_dollar (__main__.TestZshGlobalImplicit.test_parse_special_characters_dollar) ... skipped 'skip' 370s test_partial_completion (__main__.TestZshGlobalImplicit.test_partial_completion) ... FAIL 372s test_python_completion (__main__.TestZshGlobalImplicit.test_python_completion) ... FAIL 373s test_python_filename_completion (__main__.TestZshGlobalImplicit.test_python_filename_completion) ... FAIL 373s test_python_module (__main__.TestZshGlobalImplicit.test_python_module) 374s Test completing a module run with python -m. ... FAIL 374s test_python_not_executable (__main__.TestZshGlobalImplicit.test_python_not_executable) 375s Test completing a script that cannot be run directly. ... FAIL 376s test_python_stuck (__main__.TestZshGlobalImplicit.test_python_stuck) ... ok 377s test_quoted_exact (__main__.TestZshGlobalImplicit.test_quoted_exact) ... ERROR 377s test_quoted_space (__main__.TestZshGlobalImplicit.test_quoted_space) ... ERROR 378s test_quotes (__main__.TestZshGlobalImplicit.test_quotes) ... FAIL 379s test_redirection_completion (__main__.TestZshGlobalImplicit.test_redirection_completion) ... ok 380s test_simple_completion (__main__.TestZshGlobalImplicit.test_simple_completion) ... FAIL 381s test_single_quoted_completion (__main__.TestZshGlobalImplicit.test_single_quoted_completion) ... ERROR 381s test_single_quotes_in_double_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_double_quotes) ... ERROR 382s test_single_quotes_in_single_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_single_quotes) ... ERROR 383s test_special_characters (__main__.TestZshGlobalImplicit.test_special_characters) ... FAIL 384s test_special_characters_double_quoted (__main__.TestZshGlobalImplicit.test_special_characters_double_quoted) ... FAIL 385s test_special_characters_single_quoted (__main__.TestZshGlobalImplicit.test_special_characters_single_quoted) ... FAIL 386s test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space) ... FAIL 386s test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars) ... FAIL 386s test_warn (__main__.Warn.test_warn) ... ok 386s 386s ====================================================================== 386s ERROR: test_action_activation (__main__.TestArgcomplete.test_action_activation) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 250, in test_action_activation 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_action_activation_with_subparser (__main__.TestArgcomplete.test_action_activation_with_subparser) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 276, in test_action_activation_with_subparser 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_append_space (__main__.TestArgcomplete.test_append_space) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 802, in test_append_space 386s self.assertEqual(self.run_completer(make_parser(), "prog "), ["bar "]) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_basic_completion (__main__.TestArgcomplete.test_basic_completion) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 150, in test_basic_completion 386s completions = self.run_completer(p, "prog ") 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_choices (__main__.TestArgcomplete.test_choices) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 180, in test_choices 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_completers (__main__.TestArgcomplete.test_completers) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 301, in test_completers 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_custom_validator (__main__.TestArgcomplete.test_custom_validator) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 501, in test_custom_validator 386s self.assertEqual(set(self.run_completer(make_parser(), cmd, validator=lambda x, y: False)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_default_completer (__main__.TestArgcomplete.test_default_completer) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 425, in test_default_completer 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_different_validators (__main__.TestArgcomplete.test_different_validators) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 527, in test_different_validators 386s self.assertEqual(set(self.run_completer(make_parser(), cmd, validator=validator)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_display_completions (__main__.TestArgcomplete.test_display_completions) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 565, in test_display_completions 386s completer.rl_complete("", 0) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 386s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_display_completions_with_aliases (__main__.TestArgcomplete.test_display_completions_with_aliases) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 577, in test_display_completions_with_aliases 386s completer.rl_complete("", 0) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 386s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_escape_special_chars (__main__.TestArgcomplete.test_escape_special_chars) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 833, in test_escape_special_chars 386s self.assertEqual(set(self.run_completer(make_parser(), "prog -1 ")), {r"bar\<\$\>baz "}) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_exclusive (__main__.TestArgcomplete.test_exclusive) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 774, in test_exclusive 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_exclusive_class (__main__.TestArgcomplete.test_exclusive_class) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 823, in test_exclusive_class 386s self.assertEqual(set(self.run_completer(parser, cmd, completer=completer)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 601, in _action_allowed 386s if not CompletionFinder._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_filescompleter_filetype_integration (__main__.TestArgcomplete.test_filescompleter_filetype_integration) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 379, in test_filescompleter_filetype_integration 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_mixed_optional_positional (__main__.TestArgcomplete.test_mixed_optional_positional) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 794, in test_mixed_optional_positional 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_nargs_one_or_more (__main__.TestArgcomplete.test_nargs_one_or_more) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 631, in test_nargs_one_or_more 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 386s completions += self._get_option_completions(active_parser, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 386s if not self._action_allowed(action, parser): 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 386s for conflict_action in parser._action_conflicts.get(action, []): 386s ^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 386s 386s ====================================================================== 386s ERROR: test_nargs_optional (__main__.TestArgcomplete.test_nargs_optional) 386s ---------------------------------------------------------------------- 386s Traceback (most recent call last): 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 666, in test_nargs_optional 386s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 386s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 386s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 386s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_nargs_zero_or_more (__main__.TestArgcomplete.test_nargs_zero_or_more) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 649, in test_nargs_zero_or_more 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_non_ascii (__main__.TestArgcomplete.test_non_ascii) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 483, in test_non_ascii 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_non_str_choices (__main__.TestArgcomplete.test_non_str_choices) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 197, in test_non_str_choices 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_option_help (__main__.TestArgcomplete.test_option_help) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 885, in test_option_help 387s completions = self.run_completer(p, "prog --f", shell="fish") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_optional_long_short_filtering (__main__.TestArgcomplete.test_optional_long_short_filtering) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 754, in test_optional_long_short_filtering 387s result = self.run_completer(make_parser(), cmd, always_complete_options=always_complete_options) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_optional_nargs (__main__.TestArgcomplete.test_optional_nargs) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 698, in test_optional_nargs 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_positional_remainder (__main__.TestArgcomplete.test_positional_remainder) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 718, in test_positional_remainder 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_readline_entry_point (__main__.TestArgcomplete.test_readline_entry_point) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 544, in test_readline_entry_point 387s get_readline_completions(completer, ""), ["-h", "--help", "sojourner", "spirit", "opportunity", "curiosity"] 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 533, in get_readline_completions 387s completion = completer.rl_complete(text, i) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 387s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_skipped_completer (__main__.TestArgcomplete.test_skipped_completer) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 723, in test_skipped_completer 387s self.assertEqual(self.run_completer(parser, "prog --foo --"), ["--foo "]) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_subparser_completers (__main__.TestArgcomplete.test_subparser_completers) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 346, in test_subparser_completers 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_subparsers (__main__.TestArgcomplete.test_subparsers) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 452, in test_subparsers 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_suppress_args (__main__.TestArgcomplete.test_suppress_args) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 209, in test_suppress_args 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_suppress_completer (__main__.TestArgcomplete.test_suppress_completer) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 227, in test_suppress_completer 387s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 139, in run_completer 387s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 387s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_repl_multiple_complete (__main__.TestArgcompleteREPL.test_repl_multiple_complete) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 919, in test_repl_multiple_complete 387s completions = self.run_completer(p, c, "prog ") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 908, in run_completer 387s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_repl_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_parse_after_complete) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 932, in test_repl_parse_after_complete 387s completions = self.run_completer(p, c, "prog ") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 908, in run_completer 387s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_repl_reuse_parser_with_positional (__main__.TestArgcompleteREPL.test_repl_reuse_parser_with_positional) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1001, in test_repl_reuse_parser_with_positional 387s self.assertEqual(set(self.run_completer(p, c, "prog ")), set(["-h", "--help", "aa", "bb", "cc"])) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 908, in run_completer 387s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_repl_subcommand (__main__.TestArgcompleteREPL.test_repl_subcommand) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 992, in test_repl_subcommand 387s self.assertEqual(set(self.run_completer(p, c, cmd)), set(output)) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 908, in run_completer 387s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_repl_subparser_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_subparser_parse_after_complete) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 952, in test_repl_subparser_parse_after_complete 387s completions = self.run_completer(p, c, "prog foo ") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 908, in run_completer 387s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 387s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 387s completions += self._get_option_completions(active_parser, cword_prefix) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 387s if not self._action_allowed(action, parser): 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 387s for conflict_action in parser._action_conflicts.get(action, []): 387s ^^^^^^^^^^^^^^^^^^^^^^^^ 387s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 387s 387s ====================================================================== 387s ERROR: test_double_quoted_completion (__main__.TestBash.test_double_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 387s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f 387s 387s ====================================================================== 387s ERROR: test_quoted_exact (__main__.TestBash.test_quoted_exact) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 387s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f -- 387s 387s ====================================================================== 387s ERROR: test_quoted_space (__main__.TestBash.test_quoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 387s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog space "f 387s 387s ====================================================================== 387s ERROR: test_single_quoted_completion (__main__.TestBash.test_single_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 387s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic 'f 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_double_quotes (__main__.TestBash.test_single_quotes_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote "1 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_single_quotes (__main__.TestBash.test_single_quotes_in_single_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 387s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote '1 387s 387s ====================================================================== 387s ERROR: test_double_quoted_completion (__main__.TestBashGlobal.test_double_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 387s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f 387s 387s ====================================================================== 387s ERROR: test_quoted_exact (__main__.TestBashGlobal.test_quoted_exact) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 387s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f -- 387s 387s ====================================================================== 387s ERROR: test_quoted_space (__main__.TestBashGlobal.test_quoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 387s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog space "f 387s 387s ====================================================================== 387s ERROR: test_single_quoted_completion (__main__.TestBashGlobal.test_single_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 387s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic 'f 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_double_quotes (__main__.TestBashGlobal.test_single_quotes_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote "1 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_single_quotes (__main__.TestBashGlobal.test_single_quotes_in_single_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 387s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote '1 387s 387s ====================================================================== 387s ERROR: test_double_quoted_completion (__main__.TestZsh.test_double_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 387s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f 387s 387s ====================================================================== 387s ERROR: test_exclamation_in_double_quotes (__main__.TestZsh.test_exclamation_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog spec "x 387s 387s ====================================================================== 387s ERROR: test_quoted_exact (__main__.TestZsh.test_quoted_exact) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 387s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f -- 387s 387s ====================================================================== 387s ERROR: test_quoted_space (__main__.TestZsh.test_quoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 387s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog space "f 387s 387s ====================================================================== 387s ERROR: test_single_quoted_completion (__main__.TestZsh.test_single_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 387s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic 'f 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_double_quotes (__main__.TestZsh.test_single_quotes_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote "1 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_single_quotes (__main__.TestZsh.test_single_quotes_in_single_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 387s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote '1 387s 387s ====================================================================== 387s ERROR: test_double_quoted_completion (__main__.TestZshGlobalExplicit.test_double_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 387s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f 387s 387s ====================================================================== 387s ERROR: test_exclamation_in_double_quotes (__main__.TestZshGlobalExplicit.test_exclamation_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog spec "x 387s 387s ====================================================================== 387s ERROR: test_quoted_exact (__main__.TestZshGlobalExplicit.test_quoted_exact) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 387s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f -- 387s 387s ====================================================================== 387s ERROR: test_quoted_space (__main__.TestZshGlobalExplicit.test_quoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 387s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog space "f 387s 387s ====================================================================== 387s ERROR: test_single_quoted_completion (__main__.TestZshGlobalExplicit.test_single_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 387s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic 'f 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_double_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote "1 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_single_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_single_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 387s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote '1 387s 387s ====================================================================== 387s ERROR: test_double_quoted_completion (__main__.TestZshGlobalImplicit.test_double_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 387s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f 387s 387s ====================================================================== 387s ERROR: test_exclamation_in_double_quotes (__main__.TestZshGlobalImplicit.test_exclamation_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog spec "x 387s 387s ====================================================================== 387s ERROR: test_quoted_exact (__main__.TestZshGlobalImplicit.test_quoted_exact) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 387s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic "f -- 387s 387s ====================================================================== 387s ERROR: test_quoted_space (__main__.TestZshGlobalImplicit.test_quoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 387s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog space "f 387s 387s ====================================================================== 387s ERROR: test_single_quoted_completion (__main__.TestZshGlobalImplicit.test_single_quoted_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 387s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog basic 'f 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_double_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_double_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 387s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote "1 387s 387s ====================================================================== 387s ERROR: test_single_quotes_in_single_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_single_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 387s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 51, in run_command 387s res = super().run_command(command, **kwargs) 387s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 387s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 387s raise ValueError("Continuation prompt found - input was incomplete:\n" 387s ValueError: Continuation prompt found - input was incomplete: 387s prog quote '1 387s 387s ====================================================================== 387s FAIL: test_comp_point (__main__.TestBash.test_comp_point) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1245, in test_comp_point 387s self.assertEqual(self.sh.run_command("prog point hi\t"), "13\r\n") 387s AssertionError: 'hi\r\n' != '13\r\n' 387s - hi 387s + 13 387s 387s 387s ====================================================================== 387s FAIL: test_completion_environment (__main__.TestBash.test_completion_environment) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1240, in test_completion_environment 387s self.assertEqual(self.sh.run_command("prog env o\t"), "ok\r\n") 387s AssertionError: 'o\r\n' != 'ok\r\n' 387s - o 387s + ok 387s ? + 387s 387s 387s ====================================================================== 387s FAIL: test_continuation (__main__.TestBash.test_continuation) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 387s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_debug_output (__main__.TestBash.test_debug_output) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1298, in test_debug_output 387s self.assertEqual(self.sh.run_command("prog debug f\t"), "foo\r\n") 387s AssertionError: 'f\r\n' != 'foo\r\n' 387s - f 387s + foo 387s ? ++ 387s 387s 387s ====================================================================== 387s FAIL: test_nounset (__main__.TestBash.test_nounset) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1315, in test_nounset 387s self.test_simple_completion() 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_one_space_after_exact (__main__.TestBash.test_one_space_after_exact) 387s Test exactly one space is appended after an exact match. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1295, in test_one_space_after_exact 387s self.assertEqual(result, "prog basic foo \r\n") 387s AssertionError: 'prog basic f\r\n' != 'prog basic foo \r\n' 387s - prog basic f 387s + prog basic foo 387s ? +++ 387s 387s 387s ====================================================================== 387s FAIL: test_parse_special_characters (__main__.TestBash.test_parse_special_characters) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1205, in test_parse_special_characters 387s self.assertEqual(self.sh.run_command("prog spec d$e$\tf"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_partial_completion (__main__.TestBash.test_partial_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 387s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 387s 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' 387s + bar 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_quotes (__main__.TestBash.test_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 387s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 387s 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" 387s + 1'1 387s - usage: prog quote [-h] {1'1,2"2} 387s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 387s 387s 387s ====================================================================== 387s FAIL: test_simple_completion (__main__.TestBash.test_simple_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters (__main__.TestBash.test_special_characters) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 387s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_double_quoted (__main__.TestBash.test_special_characters_double_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 387s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_single_quoted (__main__.TestBash.test_special_characters_single_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 387s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_temp_file (__main__.TestBash.test_temp_file) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1307, in test_temp_file 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_unquoted_space (__main__.TestBash.test_unquoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 387s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 387s 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' 387s + foo bar 387s - usage: prog space [-h] {foo bar,baz} 387s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_wordbreak_chars (__main__.TestBash.test_wordbreak_chars) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 387s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 387s 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' 387s + a:b:c 387s - usage: prog break [-h] {a:b:c,a:b:d} 387s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 387s 387s 387s ====================================================================== 387s FAIL: test_comp_point (__main__.TestBashGlobal.test_comp_point) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1245, in test_comp_point 387s self.assertEqual(self.sh.run_command("prog point hi\t"), "13\r\n") 387s AssertionError: 'hi\r\n' != '13\r\n' 387s - hi 387s + 13 387s 387s 387s ====================================================================== 387s FAIL: test_completion_environment (__main__.TestBashGlobal.test_completion_environment) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1240, in test_completion_environment 387s self.assertEqual(self.sh.run_command("prog env o\t"), "ok\r\n") 387s AssertionError: 'o\r\n' != 'ok\r\n' 387s - o 387s + ok 387s ? + 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_module (__main__.TestBashGlobal.test_console_script_module) 387s Test completing a console_script for a module. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 387s self._test_console_script() 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-module [-h] {arg} 387s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_module_wheel (__main__.TestBashGlobal.test_console_script_module_wheel) 387s Test completing a console_script for a module from a wheel. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 387s self._test_console_script(wheel=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-module [-h] {arg} 387s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_package (__main__.TestBashGlobal.test_console_script_package) 387s Test completing a console_script for a package. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 387s self._test_console_script(package=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-package [-h] {arg} 387s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_package_wheel (__main__.TestBashGlobal.test_console_script_package_wheel) 387s Test completing a console_script for a package from a wheel. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 387s self._test_console_script(package=True, wheel=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-package [-h] {arg} 387s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_continuation (__main__.TestBashGlobal.test_continuation) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 387s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_debug_output (__main__.TestBashGlobal.test_debug_output) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1298, in test_debug_output 387s self.assertEqual(self.sh.run_command("prog debug f\t"), "foo\r\n") 387s AssertionError: 'f\r\n' != 'foo\r\n' 387s - f 387s + foo 387s ? ++ 387s 387s 387s ====================================================================== 387s FAIL: test_nounset (__main__.TestBashGlobal.test_nounset) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1315, in test_nounset 387s self.test_simple_completion() 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_one_space_after_exact (__main__.TestBashGlobal.test_one_space_after_exact) 387s Test exactly one space is appended after an exact match. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1295, in test_one_space_after_exact 387s self.assertEqual(result, "prog basic foo \r\n") 387s AssertionError: 'prog basic f\r\n' != 'prog basic foo \r\n' 387s - prog basic f 387s + prog basic foo 387s ? +++ 387s 387s 387s ====================================================================== 387s FAIL: test_parse_special_characters (__main__.TestBashGlobal.test_parse_special_characters) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1205, in test_parse_special_characters 387s self.assertEqual(self.sh.run_command("prog spec d$e$\tf"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_partial_completion (__main__.TestBashGlobal.test_partial_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 387s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 387s 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' 387s + bar 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_completion (__main__.TestBashGlobal.test_python_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 387s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_filename_completion (__main__.TestBashGlobal.test_python_filename_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 387s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_module (__main__.TestBashGlobal.test_python_module) 387s Test completing a module run with python -m. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 387s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog.py basic [-h] {foo,bar,baz} 387s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_not_executable (__main__.TestBashGlobal.test_python_not_executable) 387s Test completing a script that cannot be run directly. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 387s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_quotes (__main__.TestBashGlobal.test_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 387s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 387s 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" 387s + 1'1 387s - usage: prog quote [-h] {1'1,2"2} 387s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 387s 387s 387s ====================================================================== 387s FAIL: test_simple_completion (__main__.TestBashGlobal.test_simple_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters (__main__.TestBashGlobal.test_special_characters) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 387s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_double_quoted (__main__.TestBashGlobal.test_special_characters_double_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 387s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_single_quoted (__main__.TestBashGlobal.test_special_characters_single_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 387s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_temp_file (__main__.TestBashGlobal.test_temp_file) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1307, in test_temp_file 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_unquoted_space (__main__.TestBashGlobal.test_unquoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 387s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 387s 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' 387s + foo bar 387s - usage: prog space [-h] {foo bar,baz} 387s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_wordbreak_chars (__main__.TestBashGlobal.test_wordbreak_chars) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 387s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 387s 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' 387s + a:b:c 387s - usage: prog break [-h] {a:b:c,a:b:d} 387s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 387s 387s 387s ====================================================================== 387s FAIL: test_continuation (__main__.TestZsh.test_continuation) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 387s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_partial_completion (__main__.TestZsh.test_partial_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 387s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 387s 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' 387s + bar 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_quotes (__main__.TestZsh.test_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 387s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 387s 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" 387s + 1'1 387s - usage: prog quote [-h] {1'1,2"2} 387s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 387s 387s 387s ====================================================================== 387s FAIL: test_simple_completion (__main__.TestZsh.test_simple_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters (__main__.TestZsh.test_special_characters) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 387s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_double_quoted (__main__.TestZsh.test_special_characters_double_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 387s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_single_quoted (__main__.TestZsh.test_special_characters_single_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 387s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_unquoted_space (__main__.TestZsh.test_unquoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 387s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 387s 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' 387s + foo bar 387s - usage: prog space [-h] {foo bar,baz} 387s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_wordbreak_chars (__main__.TestZsh.test_wordbreak_chars) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 387s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 387s 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' 387s + a:b:c 387s - usage: prog break [-h] {a:b:c,a:b:d} 387s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_module (__main__.TestZshGlobalExplicit.test_console_script_module) 387s Test completing a console_script for a module. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 387s self._test_console_script() 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-module [-h] {arg} 387s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_module_wheel (__main__.TestZshGlobalExplicit.test_console_script_module_wheel) 387s Test completing a console_script for a module from a wheel. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 387s self._test_console_script(wheel=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-module [-h] {arg} 387s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_package (__main__.TestZshGlobalExplicit.test_console_script_package) 387s Test completing a console_script for a package. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 387s self._test_console_script(package=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-package [-h] {arg} 387s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_package_wheel (__main__.TestZshGlobalExplicit.test_console_script_package_wheel) 387s Test completing a console_script for a package from a wheel. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 387s self._test_console_script(package=True, wheel=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-package [-h] {arg} 387s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_continuation (__main__.TestZshGlobalExplicit.test_continuation) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 387s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_partial_completion (__main__.TestZshGlobalExplicit.test_partial_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 387s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 387s 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' 387s + bar 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_completion (__main__.TestZshGlobalExplicit.test_python_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 387s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_filename_completion (__main__.TestZshGlobalExplicit.test_python_filename_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 387s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_module (__main__.TestZshGlobalExplicit.test_python_module) 387s Test completing a module run with python -m. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 387s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog.py basic [-h] {foo,bar,baz} 387s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_not_executable (__main__.TestZshGlobalExplicit.test_python_not_executable) 387s Test completing a script that cannot be run directly. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 387s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_quotes (__main__.TestZshGlobalExplicit.test_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 387s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 387s 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" 387s + 1'1 387s - usage: prog quote [-h] {1'1,2"2} 387s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 387s 387s 387s ====================================================================== 387s FAIL: test_simple_completion (__main__.TestZshGlobalExplicit.test_simple_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters (__main__.TestZshGlobalExplicit.test_special_characters) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 387s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_double_quoted (__main__.TestZshGlobalExplicit.test_special_characters_double_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 387s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_single_quoted (__main__.TestZshGlobalExplicit.test_special_characters_single_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 387s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_unquoted_space (__main__.TestZshGlobalExplicit.test_unquoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 387s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 387s 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' 387s + foo bar 387s - usage: prog space [-h] {foo bar,baz} 387s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_wordbreak_chars (__main__.TestZshGlobalExplicit.test_wordbreak_chars) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 387s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 387s 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' 387s + a:b:c 387s - usage: prog break [-h] {a:b:c,a:b:d} 387s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_module (__main__.TestZshGlobalImplicit.test_console_script_module) 387s Test completing a console_script for a module. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 387s self._test_console_script() 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-module [-h] {arg} 387s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_module_wheel (__main__.TestZshGlobalImplicit.test_console_script_module_wheel) 387s Test completing a console_script for a module from a wheel. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 387s self._test_console_script(wheel=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-module [-h] {arg} 387s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_package (__main__.TestZshGlobalImplicit.test_console_script_package) 387s Test completing a console_script for a package. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 387s self._test_console_script(package=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-package [-h] {arg} 387s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_console_script_package_wheel (__main__.TestZshGlobalImplicit.test_console_script_package_wheel) 387s Test completing a console_script for a package from a wheel. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 387s self._test_console_script(package=True, wheel=True) 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 387s self.assertEqual(self.sh.run_command(command), "arg\r\n") 387s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 387s + arg 387s - usage: test-package [-h] {arg} 387s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 387s 387s 387s ====================================================================== 387s FAIL: test_continuation (__main__.TestZshGlobalImplicit.test_continuation) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 387s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_partial_completion (__main__.TestZshGlobalImplicit.test_partial_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 387s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 387s 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' 387s + bar 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_completion (__main__.TestZshGlobalImplicit.test_python_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 387s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_filename_completion (__main__.TestZshGlobalImplicit.test_python_filename_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 387s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_module (__main__.TestZshGlobalImplicit.test_python_module) 387s Test completing a module run with python -m. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 387s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog.py basic [-h] {foo,bar,baz} 387s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_python_not_executable (__main__.TestZshGlobalImplicit.test_python_not_executable) 387s Test completing a script that cannot be run directly. 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 387s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_quotes (__main__.TestZshGlobalImplicit.test_quotes) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 387s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 387s 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" 387s + 1'1 387s - usage: prog quote [-h] {1'1,2"2} 387s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 387s 387s 387s ====================================================================== 387s FAIL: test_simple_completion (__main__.TestZshGlobalImplicit.test_simple_completion) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 387s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 387s 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' 387s + foo 387s - usage: prog basic [-h] {foo,bar,baz} 387s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters (__main__.TestZshGlobalImplicit.test_special_characters) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 387s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_double_quoted (__main__.TestZshGlobalImplicit.test_special_characters_double_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 387s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_special_characters_single_quoted (__main__.TestZshGlobalImplicit.test_special_characters_single_quoted) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 387s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 387s 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' 387s + d$e$f 387s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 387s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 387s 387s 387s ====================================================================== 387s FAIL: test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 387s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 387s 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' 387s + foo bar 387s - usage: prog space [-h] {foo bar,baz} 387s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 387s 387s 387s ====================================================================== 387s FAIL: test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars) 387s ---------------------------------------------------------------------- 387s Traceback (most recent call last): 387s File "/tmp/autopkgtest.PaZZF7/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 387s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 387s 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' 387s + a:b:c 387s - usage: prog break [-h] {a:b:c,a:b:d} 387s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 387s 387s 387s ---------------------------------------------------------------------- 387s Ran 189 tests in 132.983s 387s 387s FAILED (failures=83, errors=69, skipped=12, expected failures=5) 399s autopkgtest [20:54:07]: test unittests: -----------------------] 403s autopkgtest [20:54:11]: test unittests: - - - - - - - - - - results - - - - - - - - - - 403s unittests FAIL non-zero exit status 1 406s autopkgtest [20:54:14]: @@@@@@@@@@@@@@@@@@@@ summary 406s unittests FAIL non-zero exit status 1