0s autopkgtest [04:19:01]: starting date and time: 2024-11-14 04:19:01+0000 0s autopkgtest [04:19:01]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [04:19:01]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3lvnp9my/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade zope.security --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-14.secgroup --name adt-plucky-ppc64el-zope.security-20241114-035337-juju-7f2275-prod-proposed-migration-environment-15-828f7b08-91e2-4c8e-9248-011a533838b7 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -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/ 115s autopkgtest [04:20:56]: testbed dpkg architecture: ppc64el 116s autopkgtest [04:20:57]: testbed apt version: 2.9.8 116s autopkgtest [04:20:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 116s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 117s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [101 kB] 117s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.4 kB] 117s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 117s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [991 kB] 117s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [112 kB] 117s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [716 kB] 117s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [8544 B] 117s Fetched 2025 kB in 1s (2187 kB/s) 117s Reading package lists... 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Calculating upgrade... 120s The following NEW packages will be installed: 120s python3.13-gdbm 120s The following packages will be upgraded: 120s bpfcc-tools bpftrace libbpfcc libgnutls30t64 libjson-glib-1.0-0 120s libjson-glib-1.0-common libnewt0.52 libpython3-stdlib libutempter0 python3 120s python3-bpfcc python3-gdbm python3-minimal python3-newt whiptail 121s 15 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 121s Need to get 4700 kB of archives. 121s After this operation, 215 kB of additional disk space will be used. 121s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 121s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 121s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 121s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 121s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 121s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 121s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 121s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 121s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 121s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 121s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 121s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 121s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 121s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 121s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 121s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 122s Fetched 4700 kB in 1s (5265 kB/s) 122s (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 ... 73767 files and directories currently installed.) 122s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 122s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 122s Setting up python3-minimal (3.12.7-1) ... 122s (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 ... 73767 files and directories currently installed.) 122s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 122s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 122s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 122s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 122s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 122s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 122s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 122s (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 ... 73767 files and directories currently installed.) 122s Preparing to unpack .../00-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 122s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 122s Preparing to unpack .../01-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 122s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 122s Preparing to unpack .../02-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 122s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 122s Selecting previously unselected package python3.13-gdbm. 122s Preparing to unpack .../03-python3.13-gdbm_3.13.0-2_ppc64el.deb ... 122s Unpacking python3.13-gdbm (3.13.0-2) ... 122s Preparing to unpack .../04-python3-gdbm_3.12.7-1_ppc64el.deb ... 122s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 122s Preparing to unpack .../05-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 122s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 122s Preparing to unpack .../06-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 123s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 123s Preparing to unpack .../07-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 123s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 123s Preparing to unpack .../08-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 123s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 123s Preparing to unpack .../09-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 123s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 123s Preparing to unpack .../10-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 123s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 123s Preparing to unpack .../11-libutempter0_1.2.1-4_ppc64el.deb ... 123s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 123s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 123s Setting up libutempter0:ppc64el (1.2.1-4) ... 123s Setting up whiptail (0.52.24-2ubuntu4) ... 123s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 123s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 123s Setting up python3.13-gdbm (3.13.0-2) ... 123s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 123s Setting up bpftrace (0.21.2-2ubuntu2) ... 123s Setting up python3 (3.12.7-1) ... 123s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 123s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 123s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 123s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 123s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 123s Processing triggers for man-db (2.12.1-3) ... 125s Processing triggers for libc-bin (2.40-1ubuntu3) ... 125s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 126s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 126s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 126s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 127s Reading package lists... 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Calculating upgrade... 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Reading package lists... 128s Building dependency tree... 128s Reading state information... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 130s autopkgtest [04:21:11]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 131s autopkgtest [04:21:12]: @@@@@@@@@@@@@@@@@@@@ apt-source zope.security 132s Get:1 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (dsc) [2633 B] 132s Get:2 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (tar) [146 kB] 132s Get:3 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (diff) [5188 B] 132s gpgv: Signature made Sun Oct 6 13:32:34 2024 UTC 132s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 132s gpgv: Can't check signature: No public key 132s dpkg-source: warning: cannot verify inline signature for ./zope.security_7.3-1.dsc: no acceptable signature found 133s autopkgtest [04:21:14]: testing package zope.security version 7.3-1 133s autopkgtest [04:21:14]: build not needed 133s autopkgtest [04:21:14]: test upstream-unittest: preparing testbed 135s Reading package lists... 135s Building dependency tree... 135s Reading state information... 135s Starting pkgProblemResolver with broken count: 0 135s Starting 2 pkgProblemResolver with broken count: 0 135s Done 135s The following additional packages will be installed: 135s libpython3.13-minimal libpython3.13-stdlib python3-all python3-btrees 135s python3-cffi python3-iniconfig python3-packaging python3-persistent 135s python3-pluggy python3-ply python3-pycparser python3-pytest 135s python3-zope.component python3-zope.configuration 135s python3-zope.deferredimport python3-zope.event python3-zope.exceptions 135s python3-zope.hookable python3-zope.i18nmessageid python3-zope.interface 135s python3-zope.location python3-zope.proxy python3-zope.schema 135s python3-zope.security python3-zope.testing python3.13 python3.13-minimal 135s Suggested packages: 135s python-btrees-doc python3-dev python-persistent-doc python-ply-doc cpp 135s python3.13-venv python3.13-doc binfmt-support 135s The following NEW packages will be installed: 135s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 135s python3-btrees python3-cffi python3-iniconfig python3-packaging 135s python3-persistent python3-pluggy python3-ply python3-pycparser 135s python3-pytest python3-zope.component python3-zope.configuration 135s python3-zope.deferredimport python3-zope.event python3-zope.exceptions 135s python3-zope.hookable python3-zope.i18nmessageid python3-zope.interface 135s python3-zope.location python3-zope.proxy python3-zope.schema 135s python3-zope.security python3-zope.testing python3.13 python3.13-minimal 135s 0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded. 135s Need to get 7485 kB/7486 kB of archives. 135s After this operation, 37.5 MB of additional disk space will be used. 135s Get:1 /tmp/autopkgtest.BvCd9d/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [756 B] 136s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-minimal ppc64el 3.13.0-2 [881 kB] 136s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-minimal ppc64el 3.13.0-2 [2302 kB] 136s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-stdlib ppc64el 3.13.0-2 [2148 kB] 136s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13 ppc64el 3.13.0-2 [719 kB] 136s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-all ppc64el 3.12.7-1 [888 B] 136s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-zope.interface ppc64el 7.1.1-1 [142 kB] 136s Get:8 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.proxy ppc64el 6.1-1 [29.1 kB] 136s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.deferredimport all 5.0-2 [7812 B] 136s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ply all 3.11-7 [45.4 kB] 136s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-pycparser all 2.22-2 [76.5 kB] 136s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-cffi all 1.17.1-2 [74.8 kB] 136s Get:13 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-persistent ppc64el 6.1-1 [63.9 kB] 136s Get:14 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-btrees ppc64el 6.1-1 [343 kB] 136s Get:15 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 136s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 136s Get:17 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 136s Get:18 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 136s Get:19 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.event all 5.0-0.1 [7512 B] 136s Get:20 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.testing all 5.0.1-1 [27.8 kB] 137s Get:21 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.exceptions all 5.2-1 [16.8 kB] 137s Get:22 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.i18nmessageid ppc64el 7.0-1 [14.9 kB] 137s Get:23 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.schema all 7.0.1-1 [61.9 kB] 137s Get:24 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.configuration all 5.0.1-1 [51.4 kB] 137s Get:25 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.hookable ppc64el 6.0-3 [12.3 kB] 137s Get:26 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.component all 6.0-1 [40.8 kB] 137s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.location all 5.0-2 [13.7 kB] 137s Get:28 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-zope.security ppc64el 7.3-1 [84.8 kB] 137s Fetched 7485 kB in 1s (6096 kB/s) 137s Selecting previously unselected package libpython3.13-minimal:ppc64el. 137s (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 ... 73775 files and directories currently installed.) 137s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_ppc64el.deb ... 137s Unpacking libpython3.13-minimal:ppc64el (3.13.0-2) ... 137s Selecting previously unselected package python3.13-minimal. 137s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_ppc64el.deb ... 137s Unpacking python3.13-minimal (3.13.0-2) ... 137s Selecting previously unselected package libpython3.13-stdlib:ppc64el. 137s Preparing to unpack .../02-libpython3.13-stdlib_3.13.0-2_ppc64el.deb ... 137s Unpacking libpython3.13-stdlib:ppc64el (3.13.0-2) ... 137s Selecting previously unselected package python3.13. 137s Preparing to unpack .../03-python3.13_3.13.0-2_ppc64el.deb ... 137s Unpacking python3.13 (3.13.0-2) ... 137s Selecting previously unselected package python3-all. 137s Preparing to unpack .../04-python3-all_3.12.7-1_ppc64el.deb ... 137s Unpacking python3-all (3.12.7-1) ... 137s Selecting previously unselected package python3-zope.interface. 137s Preparing to unpack .../05-python3-zope.interface_7.1.1-1_ppc64el.deb ... 137s Unpacking python3-zope.interface (7.1.1-1) ... 137s Selecting previously unselected package python3-zope.proxy. 137s Preparing to unpack .../06-python3-zope.proxy_6.1-1_ppc64el.deb ... 137s Unpacking python3-zope.proxy (6.1-1) ... 137s Selecting previously unselected package python3-zope.deferredimport. 137s Preparing to unpack .../07-python3-zope.deferredimport_5.0-2_all.deb ... 137s Unpacking python3-zope.deferredimport (5.0-2) ... 137s Selecting previously unselected package python3-ply. 137s Preparing to unpack .../08-python3-ply_3.11-7_all.deb ... 137s Unpacking python3-ply (3.11-7) ... 137s Selecting previously unselected package python3-pycparser. 137s Preparing to unpack .../09-python3-pycparser_2.22-2_all.deb ... 137s Unpacking python3-pycparser (2.22-2) ... 137s Selecting previously unselected package python3-cffi. 137s Preparing to unpack .../10-python3-cffi_1.17.1-2_all.deb ... 137s Unpacking python3-cffi (1.17.1-2) ... 137s Selecting previously unselected package python3-persistent. 137s Preparing to unpack .../11-python3-persistent_6.1-1_ppc64el.deb ... 137s Unpacking python3-persistent (6.1-1) ... 137s Selecting previously unselected package python3-btrees. 137s Preparing to unpack .../12-python3-btrees_6.1-1_ppc64el.deb ... 137s Unpacking python3-btrees (6.1-1) ... 137s Selecting previously unselected package python3-iniconfig. 137s Preparing to unpack .../13-python3-iniconfig_1.1.1-2_all.deb ... 137s Unpacking python3-iniconfig (1.1.1-2) ... 137s Selecting previously unselected package python3-packaging. 137s Preparing to unpack .../14-python3-packaging_24.1-1_all.deb ... 137s Unpacking python3-packaging (24.1-1) ... 137s Selecting previously unselected package python3-pluggy. 137s Preparing to unpack .../15-python3-pluggy_1.5.0-1_all.deb ... 137s Unpacking python3-pluggy (1.5.0-1) ... 137s Selecting previously unselected package python3-pytest. 137s Preparing to unpack .../16-python3-pytest_8.3.3-1_all.deb ... 137s Unpacking python3-pytest (8.3.3-1) ... 137s Selecting previously unselected package python3-zope.event. 137s Preparing to unpack .../17-python3-zope.event_5.0-0.1_all.deb ... 137s Unpacking python3-zope.event (5.0-0.1) ... 138s Selecting previously unselected package python3-zope.testing. 138s Preparing to unpack .../18-python3-zope.testing_5.0.1-1_all.deb ... 138s Unpacking python3-zope.testing (5.0.1-1) ... 138s Selecting previously unselected package python3-zope.exceptions. 138s Preparing to unpack .../19-python3-zope.exceptions_5.2-1_all.deb ... 138s Unpacking python3-zope.exceptions (5.2-1) ... 138s Selecting previously unselected package python3-zope.i18nmessageid. 138s Preparing to unpack .../20-python3-zope.i18nmessageid_7.0-1_ppc64el.deb ... 138s Unpacking python3-zope.i18nmessageid (7.0-1) ... 138s Selecting previously unselected package python3-zope.schema. 138s Preparing to unpack .../21-python3-zope.schema_7.0.1-1_all.deb ... 138s Unpacking python3-zope.schema (7.0.1-1) ... 138s Selecting previously unselected package python3-zope.configuration. 138s Preparing to unpack .../22-python3-zope.configuration_5.0.1-1_all.deb ... 138s Unpacking python3-zope.configuration (5.0.1-1) ... 138s Selecting previously unselected package python3-zope.hookable. 138s Preparing to unpack .../23-python3-zope.hookable_6.0-3_ppc64el.deb ... 138s Unpacking python3-zope.hookable (6.0-3) ... 138s Selecting previously unselected package python3-zope.component. 138s Preparing to unpack .../24-python3-zope.component_6.0-1_all.deb ... 138s Unpacking python3-zope.component (6.0-1) ... 138s Selecting previously unselected package python3-zope.location. 138s Preparing to unpack .../25-python3-zope.location_5.0-2_all.deb ... 138s Unpacking python3-zope.location (5.0-2) ... 138s Selecting previously unselected package python3-zope.security. 138s Preparing to unpack .../26-python3-zope.security_7.3-1_ppc64el.deb ... 138s Unpacking python3-zope.security (7.3-1) ... 138s Selecting previously unselected package autopkgtest-satdep. 138s Preparing to unpack .../27-1-autopkgtest-satdep.deb ... 138s Unpacking autopkgtest-satdep (0) ... 138s Setting up python3-iniconfig (1.1.1-2) ... 138s Setting up python3-zope.event (5.0-0.1) ... 138s Setting up python3-zope.interface (7.1.1-1) ... 139s Setting up python3-ply (3.11-7) ... 139s Setting up python3-zope.exceptions (5.2-1) ... 139s Setting up python3-pycparser (2.22-2) ... 140s Setting up libpython3.13-minimal:ppc64el (3.13.0-2) ... 140s Setting up python3-packaging (24.1-1) ... 140s Setting up python3-zope.hookable (6.0-3) ... 140s Setting up python3-zope.i18nmessageid (7.0-1) ... 140s Setting up python3-zope.testing (5.0.1-1) ... 141s Setting up python3-pluggy (1.5.0-1) ... 141s Setting up python3.13-minimal (3.13.0-2) ... 142s Setting up python3-zope.proxy (6.1-1) ... 142s Setting up libpython3.13-stdlib:ppc64el (3.13.0-2) ... 142s Setting up python3-zope.schema (7.0.1-1) ... 142s Setting up python3.13 (3.13.0-2) ... 143s Setting up python3-pytest (8.3.3-1) ... 144s Setting up python3-cffi (1.17.1-2) ... 145s Setting up python3-all (3.12.7-1) ... 145s Setting up python3-zope.component (6.0-1) ... 145s Setting up python3-zope.deferredimport (5.0-2) ... 145s Setting up python3-zope.configuration (5.0.1-1) ... 145s Setting up python3-persistent (6.1-1) ... 146s Setting up python3-btrees (6.1-1) ... 146s Setting up python3-zope.location (5.0-2) ... 146s Setting up python3-zope.security (7.3-1) ... 147s Setting up autopkgtest-satdep (0) ... 147s Processing triggers for man-db (2.12.1-3) ... 147s Processing triggers for systemd (256.5-2ubuntu4) ... 149s (Reading database ... 75445 files and directories currently installed.) 149s Removing autopkgtest-satdep (0) ... 150s autopkgtest [04:21:31]: test upstream-unittest: [----------------------- 150s [*] testing python3.13: 151s ============================= test session starts ============================== 151s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 151s rootdir: /tmp/autopkgtest.BvCd9d/autopkgtest_tmp 151s plugins: typeguard-4.4.1 151s collected 716 items 151s 151s tests/test_adapter.py ........................ [ 3%] 151s tests/test_checker.py ..............................F................... [ 10%] 151s ...........F..............................F............................. [ 20%] 151s ................sssssss................................................. [ 30%] 151s ..................................... [ 35%] 151s tests/test_compile_flags.py . [ 35%] 151s tests/test_decorator.py ....... [ 36%] 151s tests/test_location.py .. [ 37%] 151s tests/test_management.py ................ [ 39%] 151s tests/test_metaconfigure.py ................................. [ 43%] 151s tests/test_permission.py .................. [ 46%] 151s tests/test_protectclass.py ........ [ 47%] 155s tests/test_proxy.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 54%] 161s FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 64%] 161s FFFF.................................................................... [ 74%] 161s ........................................................................ [ 84%] 161s ............................................. [ 91%] 161s tests/test_simpleinteraction.py ..... [ 91%] 161s tests/test_simplepolicies.py ............... [ 93%] 161s tests/test_testing.py ..... [ 94%] 161s tests/test_zcml.py ............. [ 96%] 162s tests/test_zcml_functest.py ......................... [100%] 162s 162s =================================== FAILURES =================================== 162s ___________ TestCheckerPy.test_iteration_of_btree_items_keys_values ____________ 162s 162s self = 162s 162s def test_iteration_of_btree_items_keys_values(self): 162s # iteration of BTree.items() is allowed by default. 162s > import BTrees 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_checker.py:480: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/BTrees/__init__.py:62: in 162s mod = create_module(family) 162s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:229: in create_module 162s populate_module(vars(mod), key_type, val_type, iface, mod) 162s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:137: in populate_module 162s from ._base import _fix_pickle 162s /usr/lib/python3/dist-packages/BTrees/_base.py:17: in 162s from persistent import Persistent 162s /usr/lib/python3/dist-packages/persistent/__init__.py:36: in 162s from persistent import picklecache as _picklecache 162s /usr/lib/python3/dist-packages/persistent/picklecache.py:29: in 162s from persistent.ring import Ring 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s ############################################################################## 162s # 162s # Copyright (c) 2015 Zope Foundation and Contributors. 162s # All Rights Reserved. 162s # 162s # This software is subject to the provisions of the Zope Public License, 162s # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 162s # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 162s # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 162s # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 162s # FOR A PARTICULAR PURPOSE. 162s # 162s ############################################################################## 162s 162s from zope.interface import Interface 162s from zope.interface import implementer 162s 162s > from persistent import _ring 162s E ModuleNotFoundError: No module named '_cffi_backend' 162s 162s /usr/lib/python3/dist-packages/persistent/ring.py:18: ModuleNotFoundError 162s ____________ TestChecker.test_iteration_of_btree_items_keys_values _____________ 162s 162s self = 162s 162s def test_iteration_of_btree_items_keys_values(self): 162s # iteration of BTree.items() is allowed by default. 162s > import BTrees 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_checker.py:480: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/BTrees/__init__.py:62: in 162s mod = create_module(family) 162s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:229: in create_module 162s populate_module(vars(mod), key_type, val_type, iface, mod) 162s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:137: in populate_module 162s from ._base import _fix_pickle 162s /usr/lib/python3/dist-packages/BTrees/_base.py:17: in 162s from persistent import Persistent 162s /usr/lib/python3/dist-packages/persistent/__init__.py:36: in 162s from persistent import picklecache as _picklecache 162s /usr/lib/python3/dist-packages/persistent/picklecache.py:29: in 162s from persistent.ring import Ring 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s ############################################################################## 162s # 162s # Copyright (c) 2015 Zope Foundation and Contributors. 162s # All Rights Reserved. 162s # 162s # This software is subject to the provisions of the Zope Public License, 162s # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 162s # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 162s # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 162s # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 162s # FOR A PARTICULAR PURPOSE. 162s # 162s ############################################################################## 162s 162s from zope.interface import Interface 162s from zope.interface import implementer 162s 162s > from persistent import _ring 162s E ModuleNotFoundError: No module named '_cffi_backend' 162s 162s /usr/lib/python3/dist-packages/persistent/ring.py:18: ModuleNotFoundError 162s ________ TestWatchingChecker.test_iteration_of_btree_items_keys_values _________ 162s 162s self = 162s 162s def test_iteration_of_btree_items_keys_values(self): 162s # iteration of BTree.items() is allowed by default. 162s > import BTrees 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_checker.py:480: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/BTrees/__init__.py:62: in 162s mod = create_module(family) 162s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:229: in create_module 162s populate_module(vars(mod), key_type, val_type, iface, mod) 162s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:137: in populate_module 162s from ._base import _fix_pickle 162s /usr/lib/python3/dist-packages/BTrees/_base.py:17: in 162s from persistent import Persistent 162s /usr/lib/python3/dist-packages/persistent/__init__.py:36: in 162s from persistent import picklecache as _picklecache 162s /usr/lib/python3/dist-packages/persistent/picklecache.py:29: in 162s from persistent.ring import Ring 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s ############################################################################## 162s # 162s # Copyright (c) 2015 Zope Foundation and Contributors. 162s # All Rights Reserved. 162s # 162s # This software is subject to the provisions of the Zope Public License, 162s # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 162s # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 162s # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 162s # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 162s # FOR A PARTICULAR PURPOSE. 162s # 162s ############################################################################## 162s 162s from zope.interface import Interface 162s from zope.interface import implementer 162s 162s > from persistent import _ring 162s E ModuleNotFoundError: No module named '_cffi_backend' 162s 162s /usr/lib/python3/dist-packages/persistent/ring.py:18: ModuleNotFoundError 162s __________________ ProxyCTests.test___abs___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___abs___w_checker_allows(self): 162s target = -3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:533: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___abs___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___abs___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = -3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:541: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___add___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___add___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:368: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___add___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___add___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:376: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___and___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___and___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:599: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___and___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___and___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:607: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________________ ProxyCTests.test___bool___ __________________________ 162s 162s self = 162s 162s def test___bool___(self): 162s target = 12 162s checker = object() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:548: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________ ProxyCTests.test___call___w_checker_forbidden_attribute ____________ 162s 162s self = 162s 162s def test___call___w_checker_forbidden_attribute(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class Foo: 162s def __call__(self): 162s raise AssertionError("Never called") 162s target = Foo() 162s checker = DummyChecker(ForbiddenAttribute, ['__str__']) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:331: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________________ ProxyCTests.test___call___w_checker_ok ____________________ 162s 162s self = 162s 162s def test___call___w_checker_ok(self): 162s class Foo: 162s def __call__(self): 162s return 'Bar' 162s target = Foo() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:306: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___call___w_checker_unauthorized _______________ 162s 162s self = 162s 162s def test___call___w_checker_unauthorized(self): 162s from zope.security.interfaces import Unauthorized 162s 162s class Foo: 162s def __call__(self): 162s raise AssertionError("Never called") 162s target = Foo() 162s checker = DummyChecker(Unauthorized, ['__name__', '__str__']) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:319: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ______________ ProxyCTests.test___contains___hit_w_checker_allows ______________ 162s 162s self = 162s 162s def test___contains___hit_w_checker_allows(self): 162s target = [0, 1, 2] 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1083: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___contains___miss_w_checker_allows ______________ 162s 162s self = 162s 162s def test___contains___miss_w_checker_allows(self): 162s target = [0, 1, 2] 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1090: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___contains___w_checker_forbids ________________ 162s 162s self = 162s 162s def test___contains___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = [0, 1, 2] 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1098: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___delattr___w_checker_forbidden_attribute __________ 162s 162s self = 162s 162s def test___delattr___w_checker_forbidden_attribute(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class Foo: 162s def __init__(self): 162s self.bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:158: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___delattr___w_checker_ok ___________________ 162s 162s self = 162s 162s def test___delattr___w_checker_ok(self): 162s class Foo: 162s bar = None 162s target = Foo() 162s target.bar = 'Bar' 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:131: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___delattr___w_checker_unauthorized ______________ 162s 162s self = 162s 162s def test___delattr___w_checker_unauthorized(self): 162s from zope.security.interfaces import Unauthorized 162s 162s class Foo: 162s def __init__(self): 162s self.bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker(Unauthorized) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:145: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___divmod___w_checker_allows _________________ 162s 162s self = 162s 162s def test___divmod___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:458: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___divmod___w_checker_forbids _________________ 162s 162s self = 162s 162s def test___divmod___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:466: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___float___w_checker_allows __________________ 162s 162s self = 162s 162s def test___float___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:353: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___float___w_checker_forbids _________________ 162s 162s self = 162s 162s def test___float___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:361: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___floordiv___w_checker_allows ________________ 162s 162s self = 162s 162s def test___floordiv___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:428: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___floordiv___w_checker_forbids ________________ 162s 162s self = 162s 162s def test___floordiv___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:436: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___getattr___w_checker_forbidden_attribute __________ 162s 162s self = 162s 162s def test___getattr___w_checker_forbidden_attribute(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class Foo: 162s bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:67: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___getattr___w_checker_ok ___________________ 162s 162s self = 162s 162s def test___getattr___w_checker_ok(self): 162s class Foo: 162s bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:43: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___getattr___w_checker_unauthorized ______________ 162s 162s self = 162s 162s def test___getattr___w_checker_unauthorized(self): 162s from zope.security.interfaces import Unauthorized 162s 162s class Foo: 162s bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker(Unauthorized) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:56: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___getitem___mapping_hit_w_checker_allows ___________ 162s 162s self = 162s 162s def test___getitem___mapping_hit_w_checker_allows(self): 162s target = {'a': 0, 'b': 1, 'c': 2} 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1224: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___getitem___mapping_miss_w_checker_allows __________ 162s 162s self = 162s 162s def test___getitem___mapping_miss_w_checker_allows(self): 162s target = {'a': 0, 'b': 1, 'c': 2} 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1231: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________ ProxyCTests.test___getitem___mapping_w_checker_forbids ____________ 162s 162s self = 162s 162s def test___getitem___mapping_w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = {'a': 0, 'b': 1, 'c': 2} 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1239: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___getitem___sequence_hit_w_checker_allows __________ 162s 162s self = 162s 162s def test___getitem___sequence_hit_w_checker_allows(self): 162s target = [0, 1, 2] 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1105: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________ ProxyCTests.test___getitem___sequence_miss_w_checker_allows __________ 162s 162s self = 162s 162s def test___getitem___sequence_miss_w_checker_allows(self): 162s target = [0, 1, 2] 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1112: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________ ProxyCTests.test___getitem___sequence_w_checker_forbids ____________ 162s 162s self = 162s 162s def test___getitem___sequence_w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = [0, 1, 2] 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1120: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___getslice___dne_uses_getitem ________________ 162s 162s self = 162s 162s def test___getslice___dne_uses_getitem(self): 162s class Missing(Exception): 162s pass 162s 162s class Get: 162s def __getitem__(self, x): 162s raise Missing('__getitem__') 162s 162s target = Get() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1180: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___getslice___error_propagates ________________ 162s 162s self = 162s 162s def test___getslice___error_propagates(self): 162s class Missing(Exception): 162s pass 162s 162s class Get: 162s def __getitem__(self, x): 162s raise Missing('__getitem__') 162s 162s target = Get() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1163: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________________ ProxyCTests.test___hash___w_self _______________________ 162s 162s self = 162s 162s def test___hash___w_self(self): 162s target = object() 162s checker = object() # checker not consulted 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:297: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___iadd___inplace_checker_allows _______________ 162s 162s self = 162s 162s def test___iadd___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __iadd__(self, rhs): 162s self.value += rhs 162s return self 162s target = Foo(3) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:660: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___iadd___not_inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___iadd___not_inplace_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:644: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___iadd___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___iadd___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:670: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___iand___inplace_checker_allows _______________ 162s 162s self = 162s 162s def test___iand___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __iand__(self, rhs): 162s self.value &= rhs 162s return self 162s target = Foo(7) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:966: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___iand___not_inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___iand___not_inplace_checker_allows(self): 162s target = 7 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:950: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___iand___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___iand___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 7 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:976: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________ ProxyCTests.test___ifloordiv___inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___ifloordiv___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __ifloordiv__(self, rhs): 162s self.value //= rhs 162s return self 162s target = Foo(6) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:796: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___ifloordiv___not_inplace_checker_allows ___________ 162s 162s self = 162s 162s def test___ifloordiv___not_inplace_checker_allows(self): 162s target = 6 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:780: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___ifloordiv___w_checker_forbids _______________ 162s 162s self = 162s 162s def test___ifloordiv___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 6 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:806: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___ilshift___inplace_checker_allows ______________ 162s 162s self = 162s 162s def test___ilshift___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __ilshift__(self, rhs): 162s self.value <<= rhs 162s return self 162s target = Foo(2) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:898: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________ ProxyCTests.test___ilshift___not_inplace_checker_allows ____________ 162s 162s self = 162s 162s def test___ilshift___not_inplace_checker_allows(self): 162s target = 2 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:882: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___ilshift___w_checker_forbids ________________ 162s 162s self = 162s 162s def test___ilshift___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 2 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:908: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___imod___inplace_checker_allows _______________ 162s 162s self = 162s 162s def test___imod___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __imod__(self, rhs): 162s self.value %= rhs 162s return self 162s target = Foo(6) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:830: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___imod___not_inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___imod___not_inplace_checker_allows(self): 162s target = 6 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:814: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___imod___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___imod___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 6 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:840: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___imul___inplace_checker_allows _______________ 162s 162s self = 162s 162s def test___imul___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __imul__(self, rhs): 162s self.value *= rhs 162s return self 162s target = Foo(3) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:728: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___imul___not_inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___imul___not_inplace_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:712: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___imul___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___imul___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:738: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___int___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___int___w_checker_allows(self): 162s target = 3.0 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:338: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___int___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___int___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3.0 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:346: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___invert___w_checker_allows _________________ 162s 162s self = 162s 162s def test___invert___w_checker_allows(self): 162s target = 47 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:554: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___invert___w_checker_forbids _________________ 162s 162s self = 162s 162s def test___invert___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 47 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:562: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___ior___inplace_checker_allows ________________ 162s 162s self = 162s 162s def test___ior___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __ior__(self, rhs): 162s self.value |= rhs 162s return self 162s target = Foo(6) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1036: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___ior___not_inplace_checker_allows ______________ 162s 162s self = 162s 162s def test___ior___not_inplace_checker_allows(self): 162s target = 6 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1020: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___ior___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___ior___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 6 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1046: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___ipow___inplace_checker_allows _______________ 162s 162s self = 162s 162s def test___ipow___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __ipow__(self, rhs): 162s self.value **= rhs 162s return self 162s target = Foo(2) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:864: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___ipow___not_inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___ipow___not_inplace_checker_allows(self): 162s target = 2 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:848: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___ipow___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___ipow___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 2 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:874: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___irshift___inplace_checker_allows ______________ 162s 162s self = 162s 162s def test___irshift___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __irshift__(self, rhs): 162s self.value >>= rhs 162s return self 162s target = Foo(16) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:932: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________ ProxyCTests.test___irshift___not_inplace_checker_allows ____________ 162s 162s self = 162s 162s def test___irshift___not_inplace_checker_allows(self): 162s target = 16 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:916: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___irshift___w_checker_forbids ________________ 162s 162s self = 162s 162s def test___irshift___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 16 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:942: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___isub___inplace_checker_allows _______________ 162s 162s self = 162s 162s def test___isub___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __isub__(self, rhs): 162s self.value -= rhs 162s return self 162s target = Foo(3) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:694: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___isub___not_inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___isub___not_inplace_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:678: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___isub___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___isub___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:704: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___itruediv___inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___itruediv___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __itruediv__(self, rhs): 162s self.value /= rhs 162s return self 162s target = Foo(6) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:762: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________ ProxyCTests.test___itruediv___not_inplace_checker_allows ___________ 162s 162s self = 162s 162s def test___itruediv___not_inplace_checker_allows(self): 162s target = 6 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:746: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___itruediv___w_checker_forbids ________________ 162s 162s self = 162s 162s def test___itruediv___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 6 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:772: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______________ ProxyCTests.test___ixor___inplace_checker_allows _______________ 162s 162s self = 162s 162s def test___ixor___inplace_checker_allows(self): 162s class Foo: 162s def __init__(self, value): 162s self.value = value 162s 162s def __ixor__(self, rhs): 162s self.value ^= rhs 162s return self 162s target = Foo(7) 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1000: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___ixor___not_inplace_checker_allows _____________ 162s 162s self = 162s 162s def test___ixor___not_inplace_checker_allows(self): 162s target = 7 162s checker = DummyChecker() 162s > proxy = before = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:984: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___ixor___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___ixor___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 7 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1010: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___len___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___len___w_checker_allows(self): 162s target = [0, 1, 2] 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1054: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___len___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___len___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = [0, 1, 2] 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1062: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___lshift___w_checker_allows _________________ 162s 162s self = 162s 162s def test___lshift___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:569: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___lshift___w_checker_forbids _________________ 162s 162s self = 162s 162s def test___lshift___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:577: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___mod___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___mod___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:443: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___mod___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___mod___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:451: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___mul___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___mul___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:398: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___mul___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___mul___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:406: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___neg___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___neg___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:503: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___neg___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___neg___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:511: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________________ ProxyCTests.test___or___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___or___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:629: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___or___w_checker_forbids ___________________ 162s 162s self = 162s 162s def test___or___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:637: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___pos___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___pos___w_checker_allows(self): 162s target = -3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:518: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___pos___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___pos___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = -3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:526: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___pow___w_x_proxied_allowed _________________ 162s 162s self = 162s 162s def test___pow___w_x_proxied_allowed(self): 162s x, y, z = 3, 4, 7 162s checker = DummyChecker() 162s > proxy = self._makeOne(x, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:473: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___pow___w_x_proxied_forbidden ________________ 162s 162s self = 162s 162s def test___pow___w_x_proxied_forbidden(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s y, z = 4, 7 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(y, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:481: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___pow___w_y_proxied_allowed _________________ 162s 162s self = 162s 162s def test___pow___w_y_proxied_allowed(self): 162s x, y = 3, 4 162s checker = DummyChecker() 162s > proxy = self._makeOne(y, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:488: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___pow___w_y_proxied_forbidden ________________ 162s 162s self = 162s 162s def test___pow___w_y_proxied_forbidden(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s x, y = 3, 4 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(y, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:496: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___repr___checker_allows_str _________________ 162s 162s self = 162s 162s def test___repr___checker_allows_str(self): 162s target = object() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:198: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___repr___checker_forbids_str _________________ 162s 162s self = 162s 162s def test___repr___checker_forbids_str(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s from zope.security.proxy import _fmt_address 162s target = object() 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:206: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___rshift___w_checker_allows _________________ 162s 162s self = 162s 162s def test___rshift___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:584: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___rshift___w_checker_forbids _________________ 162s 162s self = 162s 162s def test___rshift___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:592: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___setattr___w_checker_forbidden_attribute __________ 162s 162s self = 162s 162s def test___setattr___w_checker_forbidden_attribute(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class Foo: 162s bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:121: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___setattr___w_checker_ok ___________________ 162s 162s self = 162s 162s def test___setattr___w_checker_ok(self): 162s class Foo: 162s bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:97: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________ ProxyCTests.test___setattr___w_checker_unauthorized ______________ 162s 162s self = 162s 162s def test___setattr___w_checker_unauthorized(self): 162s from zope.security.interfaces import Unauthorized 162s 162s class Foo: 162s bar = 'Bar' 162s target = Foo() 162s checker = DummyChecker(Unauthorized) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:110: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___setitem___mapping_hit_w_checker_allows ___________ 162s 162s self = 162s 162s def test___setitem___mapping_hit_w_checker_allows(self): 162s target = {'a': 0, 'b': 1, 'c': 2} 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1246: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________ ProxyCTests.test___setitem___mapping_w_checker_forbids ____________ 162s 162s self = 162s 162s def test___setitem___mapping_w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = {'a': 0, 'b': 1, 'c': 2} 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1255: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________ ProxyCTests.test___setitem___sequence_hit_w_checker_allows __________ 162s 162s self = 162s 162s def test___setitem___sequence_hit_w_checker_allows(self): 162s target = [0, 1, 2] 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1127: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________ ProxyCTests.test___setitem___sequence_miss_w_checker_allows __________ 162s 162s self = 162s 162s def test___setitem___sequence_miss_w_checker_allows(self): 162s target = [0, 1, 2] 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1135: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________ ProxyCTests.test___setitem___sequence_w_checker_forbids ____________ 162s 162s self = 162s 162s def test___setitem___sequence_w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = [0, 1, 2] 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1146: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___setslice___dne_uses_setitem ________________ 162s 162s self = 162s 162s def test___setslice___dne_uses_setitem(self): 162s class Missing(Exception): 162s pass 162s 162s class Set: 162s def __setitem__(self, k, v): 162s raise Missing('__setitem__') 162s 162s target = Set() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1214: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___setslice___error_propagates ________________ 162s 162s self = 162s 162s def test___setslice___error_propagates(self): 162s class Missing(Exception): 162s pass 162s 162s class Set: 162s def __setitem__(self, k, v): 162s raise Missing('__setitem__') 162s 162s target = Set() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1197: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___str___checker_allows_str __________________ 162s 162s self = 162s 162s def test___str___checker_allows_str(self): 162s target = object() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:166: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _________________ ProxyCTests.test___str___checker_forbids_str _________________ 162s 162s self = 162s 162s def test___str___checker_forbids_str(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s from zope.security.proxy import _fmt_address 162s target = object() 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:174: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _ ProxyCTests.test___str___doesnot_fall_through_to_repr_when_repr_not_allowed __ 162s 162s self = 162s 162s def test___str___doesnot_fall_through_to_repr_when_repr_not_allowed(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class CustomRepr: 162s def __repr__(self): 162s return "" 162s 162s target = CustomRepr() 162s checker = DummyChecker(ForbiddenAttribute, allowed=('__str__')) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:250: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __ ProxyCTests.test___str___doesnot_fall_through_to_repr_when_str_not_allowed __ 162s 162s self = 162s 162s def test___str___doesnot_fall_through_to_repr_when_str_not_allowed(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class CustomRepr: 162s def __repr__(self): 162s return "" 162s 162s target = CustomRepr() 162s checker = DummyChecker(ForbiddenAttribute, allowed=('__repr__')) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:236: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________________ ProxyCTests.test___str___fails_return _____________________ 162s 162s self = 162s 162s def test___str___fails_return(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class CustomStr: 162s def __str__(self): 162s "" # Docstring, not a return 162s 162s target = CustomStr() 162s checker = DummyChecker(ForbiddenAttribute, allowed=('__str__')) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:189: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____ ProxyCTests.test___str___falls_through_to_repr_but_repr_fails_return _____ 162s 162s self = 162s 162s def test___str___falls_through_to_repr_but_repr_fails_return(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class CustomRepr: 162s def __repr__(self): 162s "" # Docstring, not a return 162s 162s target = CustomRepr() 162s checker = DummyChecker(ForbiddenAttribute, allowed=('__repr__')) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:264: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _______ ProxyCTests.test___str___falls_through_to_repr_when_both_allowed _______ 162s 162s self = 162s 162s def test___str___falls_through_to_repr_when_both_allowed(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s 162s class CustomRepr: 162s def __repr__(self): 162s return "" 162s 162s target = CustomRepr() 162s checker = DummyChecker( 162s ForbiddenAttribute, allowed=("__str__", '__repr__')) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:222: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___sub___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___sub___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:383: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___sub___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___sub___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:391: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___truediv___w_checker_allows _________________ 162s 162s self = 162s 162s def test___truediv___w_checker_allows(self): 162s target = 3.0 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:413: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test___truediv___w_checker_forbids ________________ 162s 162s self = 162s 162s def test___truediv___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3.0 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:421: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___xor___w_checker_allows ___________________ 162s 162s self = 162s 162s def test___xor___w_checker_allows(self): 162s target = 3 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:614: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s __________________ ProxyCTests.test___xor___w_checker_forbids __________________ 162s 162s self = 162s 162s def test___xor___w_checker_forbids(self): 162s from zope.security.interfaces import ForbiddenAttribute 162s target = 3 162s checker = DummyChecker(ForbiddenAttribute) 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:622: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________________________ ProxyCTests.test__ge__ ____________________________ 162s 162s self = 162s 162s def test__ge__(self): 162s target = 1 162s checker = object() # checker not consulted 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:285: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____ ProxyCTests.test__getattr__w_checker_ok_dynamic_attribute_called_once _____ 162s 162s self = 162s 162s def test__getattr__w_checker_ok_dynamic_attribute_called_once(self): 162s class Dynamic: 162s count = 0 162s 162s def __getattr__(self, name): 162s self.count += 1 162s if self.count == 1: 162s # Called from __getattribute__ 162s raise AttributeError(name) 162s raise AssertionError("We should not be called more than once") 162s 162s target = Dynamic() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:86: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________________________ ProxyCTests.test__gt__ ____________________________ 162s 162s self = 162s 162s def test__gt__(self): 162s target = 1 162s checker = object() # checker not consulted 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:291: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________________________ ProxyCTests.test__le__ ____________________________ 162s 162s self = 162s 162s def test__le__(self): 162s target = 1 162s checker = object() # checker not consulted 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:273: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ______________________ ProxyCTests.test__length_hint_dne _______________________ 162s 162s self = 162s 162s def test__length_hint_dne(self): 162s target = object() 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1076: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ________________ ProxyCTests.test__length_hint_w_checker_allows ________________ 162s 162s self = 162s 162s def test__length_hint_w_checker_allows(self): 162s target = iter([0, 1, 2]) 162s checker = DummyChecker() 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1069: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ____________________________ ProxyCTests.test__ne__ ____________________________ 162s 162s self = 162s 162s def test__ne__(self): 162s target = 1 162s checker = object() # checker not consulted 162s > proxy = self._makeOne(target, checker) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:279: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s ___________________________ ProxyCTests.test_binops ____________________________ 162s 162s self = 162s 162s def test_binops(self): 162s from zope.security.proxy import removeSecurityProxy 162s checker = DummyChecker() 162s for expr in self.binops: 162s first = 1 162s > for x in [1, self._makeOne(1, checker)]: 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1272: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s self = 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s _____________________ ProxyCTests.test_ctor_w_checker_None _____________________ 162s 162s self = 162s 162s def test_ctor_w_checker_None(self): 162s > self.assertRaises(ValueError, self._makeOne, object(), None) 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:36: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 162s return self._getTargetClass()(obj, checker) 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s def _getTargetClass(self): # pragma: no cover 162s > from zope.security.proxy import _Proxy 162s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 162s 162s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 162s =============================== warnings summary =============================== 162s tests/test_adapter.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_adapter.py::test_suite returned , , , , , , , , , ]>, , , , , ]>, , , ]>, , , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_checker.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_checker.py::test_suite returned , , , , ]>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]>, , , , , , , , , , , , , , , , ]>, , ]>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]>, , , , , , , , , , , , , , , , ]>, , ]>, , , ]>, , , , , , , , , , , , , , , , ]>, , , ]>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]>, , , , , , , , , , , , , , , , ]>, , , , , ]>, , , , , , , ]>, , , , , ]>, , , , , , , ]>, , ]>, , , ]>, , , , , ]>, , , , , ]>, , ]>, , ]>, , , , , , , ]>, , , , , , , ]>, , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_decorator.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_decorator.py::test_suite returned , , , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_location.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_location.py::test_suite returned ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_management.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_management.py::test_suite returned , , , , , , , , , , , , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_metaconfigure.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_metaconfigure.py::test_suite returned , , , , , , , , , , , , , , , , , , , ]>, , , , ]>, , ]>, , ]>, , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_permission.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_permission.py::test_suite returned , , , ]>, , , ]>, , , , ]>, , , ]>, , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_protectclass.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_protectclass.py::test_suite returned , ]>, , ]>, , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_proxy.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_proxy.py::test_suite returned ]>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]>, , ]>, , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_simpleinteraction.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_simpleinteraction.py::test_suite returned , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_simplepolicies.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_simplepolicies.py::test_suite returned , , , , , , , , , , ]>, , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_testing.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_testing.py::test_suite returned , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_zcml.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_zcml.py::test_suite returned , , , , , ]>, ]>, , ]>, , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s tests/test_zcml_functest.py::test_suite 162s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_zcml_functest.py::test_suite returned ]>, , , , , , ]>, ]>, , , ]>, , , , , , , , , , , , , ]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 162s warnings.warn( 162s 162s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 162s =========================== short test summary info ============================ 162s FAILED tests/test_checker.py::TestCheckerPy::test_iteration_of_btree_items_keys_values 162s FAILED tests/test_checker.py::TestChecker::test_iteration_of_btree_items_keys_values 162s FAILED tests/test_checker.py::TestWatchingChecker::test_iteration_of_btree_items_keys_values 162s FAILED tests/test_proxy.py::ProxyCTests::test___abs___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___abs___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___add___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___add___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___and___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___and___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___bool___ - ImportError: cannot... 162s FAILED tests/test_proxy.py::ProxyCTests::test___call___w_checker_forbidden_attribute 162s FAILED tests/test_proxy.py::ProxyCTests::test___call___w_checker_ok - ImportE... 162s FAILED tests/test_proxy.py::ProxyCTests::test___call___w_checker_unauthorized 162s FAILED tests/test_proxy.py::ProxyCTests::test___contains___hit_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___contains___miss_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___contains___w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___delattr___w_checker_forbidden_attribute 162s FAILED tests/test_proxy.py::ProxyCTests::test___delattr___w_checker_ok - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___delattr___w_checker_unauthorized 162s FAILED tests/test_proxy.py::ProxyCTests::test___divmod___w_checker_allows - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___divmod___w_checker_forbids - ... 162s FAILED tests/test_proxy.py::ProxyCTests::test___float___w_checker_allows - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___float___w_checker_forbids - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___floordiv___w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___floordiv___w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___getattr___w_checker_forbidden_attribute 162s FAILED tests/test_proxy.py::ProxyCTests::test___getattr___w_checker_ok - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___getattr___w_checker_unauthorized 162s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___mapping_hit_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___mapping_miss_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___mapping_w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___sequence_hit_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___sequence_miss_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___sequence_w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___getslice___dne_uses_getitem 162s FAILED tests/test_proxy.py::ProxyCTests::test___getslice___error_propagates 162s FAILED tests/test_proxy.py::ProxyCTests::test___hash___w_self - ImportError: ... 162s FAILED tests/test_proxy.py::ProxyCTests::test___iadd___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___iadd___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___iadd___w_checker_forbids - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___iand___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___iand___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___iand___w_checker_forbids - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___ifloordiv___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ifloordiv___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ifloordiv___w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___ilshift___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ilshift___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ilshift___w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___imod___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___imod___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___imod___w_checker_forbids - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___imul___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___imul___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___imul___w_checker_forbids - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___int___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___int___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___invert___w_checker_allows - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___invert___w_checker_forbids - ... 162s FAILED tests/test_proxy.py::ProxyCTests::test___ior___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ior___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ior___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___ipow___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ipow___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ipow___w_checker_forbids - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___irshift___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___irshift___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___irshift___w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___isub___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___isub___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___isub___w_checker_forbids - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___itruediv___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___itruediv___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___itruediv___w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___ixor___inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ixor___not_inplace_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___ixor___w_checker_forbids - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___len___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___len___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___lshift___w_checker_allows - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___lshift___w_checker_forbids - ... 162s FAILED tests/test_proxy.py::ProxyCTests::test___mod___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___mod___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___mul___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___mul___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___neg___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___neg___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___or___w_checker_allows - Impor... 162s FAILED tests/test_proxy.py::ProxyCTests::test___or___w_checker_forbids - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___pos___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___pos___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_x_proxied_allowed - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_x_proxied_forbidden 162s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_y_proxied_allowed - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_y_proxied_forbidden 162s FAILED tests/test_proxy.py::ProxyCTests::test___repr___checker_allows_str - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___repr___checker_forbids_str - ... 162s FAILED tests/test_proxy.py::ProxyCTests::test___rshift___w_checker_allows - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___rshift___w_checker_forbids - ... 162s FAILED tests/test_proxy.py::ProxyCTests::test___setattr___w_checker_forbidden_attribute 162s FAILED tests/test_proxy.py::ProxyCTests::test___setattr___w_checker_ok - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___setattr___w_checker_unauthorized 162s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___mapping_hit_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___mapping_w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___sequence_hit_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___sequence_miss_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___sequence_w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___setslice___dne_uses_setitem 162s FAILED tests/test_proxy.py::ProxyCTests::test___setslice___error_propagates 162s FAILED tests/test_proxy.py::ProxyCTests::test___str___checker_allows_str - Im... 162s FAILED tests/test_proxy.py::ProxyCTests::test___str___checker_forbids_str - I... 162s FAILED tests/test_proxy.py::ProxyCTests::test___str___doesnot_fall_through_to_repr_when_repr_not_allowed 162s FAILED tests/test_proxy.py::ProxyCTests::test___str___doesnot_fall_through_to_repr_when_str_not_allowed 162s FAILED tests/test_proxy.py::ProxyCTests::test___str___fails_return - ImportEr... 162s FAILED tests/test_proxy.py::ProxyCTests::test___str___falls_through_to_repr_but_repr_fails_return 162s FAILED tests/test_proxy.py::ProxyCTests::test___str___falls_through_to_repr_when_both_allowed 162s FAILED tests/test_proxy.py::ProxyCTests::test___sub___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___sub___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test___truediv___w_checker_allows - ... 162s FAILED tests/test_proxy.py::ProxyCTests::test___truediv___w_checker_forbids 162s FAILED tests/test_proxy.py::ProxyCTests::test___xor___w_checker_allows - Impo... 162s FAILED tests/test_proxy.py::ProxyCTests::test___xor___w_checker_forbids - Imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test__ge__ - ImportError: cannot imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test__getattr__w_checker_ok_dynamic_attribute_called_once 162s FAILED tests/test_proxy.py::ProxyCTests::test__gt__ - ImportError: cannot imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test__le__ - ImportError: cannot imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test__length_hint_dne - ImportError:... 162s FAILED tests/test_proxy.py::ProxyCTests::test__length_hint_w_checker_allows 162s FAILED tests/test_proxy.py::ProxyCTests::test__ne__ - ImportError: cannot imp... 162s FAILED tests/test_proxy.py::ProxyCTests::test_binops - ImportError: cannot im... 162s FAILED tests/test_proxy.py::ProxyCTests::test_ctor_w_checker_None - ImportErr... 162s =========== 131 failed, 578 passed, 7 skipped, 14 warnings in 11.20s =========== 162s autopkgtest [04:21:43]: test upstream-unittest: -----------------------] 162s upstream-unittest FAIL non-zero exit status 1 162s autopkgtest [04:21:43]: test upstream-unittest: - - - - - - - - - - results - - - - - - - - - - 163s autopkgtest [04:21:44]: @@@@@@@@@@@@@@@@@@@@ summary 163s upstream-unittest FAIL non-zero exit status 1 175s nova [W] Using flock in prodstack6-ppc64el 175s Creating nova instance adt-plucky-ppc64el-zope.security-20241114-035337-juju-7f2275-prod-proposed-migration-environment-15-828f7b08-91e2-4c8e-9248-011a533838b7 from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...