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