0s autopkgtest [11:33:40]: starting date and time: 2024-11-13 11:33:40+0000 0s autopkgtest [11:33:40]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [11:33:40]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.byj5ntbo/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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-55.secgroup --name adt-plucky-arm64-zope.security-20241113-113339-juju-7f2275-prod-proposed-migration-environment-2-6933db43-9d83-4109-8db6-bed3d3beec52 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 99s autopkgtest [11:35:19]: testbed dpkg architecture: arm64 99s autopkgtest [11:35:19]: testbed apt version: 2.9.8 99s autopkgtest [11:35:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 101s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 101s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 101s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 101s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 101s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 101s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 101s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 101s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 101s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 102s Fetched 1794 kB in 1s (1795 kB/s) 102s Reading package lists... 105s Reading package lists... 106s Building dependency tree... 106s Reading state information... 107s Calculating upgrade... 108s The following NEW packages will be installed: 108s python3.13-gdbm 108s The following packages will be upgraded: 108s libpython3-stdlib python3 python3-gdbm python3-minimal 108s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 101 kB of archives. 108s After this operation, 141 kB of additional disk space will be used. 108s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 109s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 109s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 109s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 109s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 109s Fetched 101 kB in 0s (270 kB/s) 110s (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 ... 79924 files and directories currently installed.) 110s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 110s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 110s Setting up python3-minimal (3.12.7-1) ... 110s (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 ... 79924 files and directories currently installed.) 110s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 110s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 110s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 110s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 110s Selecting previously unselected package python3.13-gdbm. 110s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 110s Unpacking python3.13-gdbm (3.13.0-2) ... 111s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 111s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 111s Setting up python3.13-gdbm (3.13.0-2) ... 111s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 111s Setting up python3 (3.12.7-1) ... 111s Setting up python3-gdbm:arm64 (3.12.7-1) ... 111s Processing triggers for man-db (2.12.1-3) ... 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 115s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 115s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 115s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 116s Reading package lists... 116s Reading package lists... 117s Building dependency tree... 117s Reading state information... 118s Calculating upgrade... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Reading package lists... 120s Building dependency tree... 120s Reading state information... 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s autopkgtest [11:35:45]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 125s autopkgtest [11:35:45]: @@@@@@@@@@@@@@@@@@@@ apt-source zope.security 127s Get:1 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (dsc) [2633 B] 127s Get:2 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (tar) [146 kB] 127s Get:3 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (diff) [5188 B] 127s gpgv: Signature made Sun Oct 6 13:32:34 2024 UTC 127s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 127s gpgv: Can't check signature: No public key 127s dpkg-source: warning: cannot verify inline signature for ./zope.security_7.3-1.dsc: no acceptable signature found 127s autopkgtest [11:35:47]: testing package zope.security version 7.3-1 127s autopkgtest [11:35:47]: build not needed 128s autopkgtest [11:35:48]: test upstream-unittest: preparing testbed 129s Reading package lists... 129s Building dependency tree... 129s Reading state information... 130s Starting pkgProblemResolver with broken count: 0 130s Starting 2 pkgProblemResolver with broken count: 0 130s Done 131s The following additional packages will be installed: 131s libpython3.13-minimal libpython3.13-stdlib python3-all python3-btrees 131s python3-cffi python3-iniconfig python3-packaging python3-persistent 131s python3-pluggy python3-ply python3-pycparser python3-pytest 131s python3-zope.component python3-zope.configuration 131s python3-zope.deferredimport python3-zope.event python3-zope.exceptions 131s python3-zope.hookable python3-zope.i18nmessageid python3-zope.interface 131s python3-zope.location python3-zope.proxy python3-zope.schema 131s python3-zope.security python3-zope.testing python3.13 python3.13-minimal 131s Suggested packages: 131s python-btrees-doc python3-dev python-persistent-doc python-ply-doc cpp 131s python3.13-venv python3.13-doc binfmt-support 131s The following NEW packages will be installed: 131s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 131s python3-btrees python3-cffi python3-iniconfig python3-packaging 131s python3-persistent python3-pluggy python3-ply python3-pycparser 131s python3-pytest python3-zope.component python3-zope.configuration 131s python3-zope.deferredimport python3-zope.event python3-zope.exceptions 131s python3-zope.hookable python3-zope.i18nmessageid python3-zope.interface 131s python3-zope.location python3-zope.proxy python3-zope.schema 131s python3-zope.security python3-zope.testing python3.13 python3.13-minimal 131s 0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded. 131s Need to get 7119 kB/7120 kB of archives. 131s After this operation, 34.4 MB of additional disk space will be used. 131s Get:1 /tmp/autopkgtest.ahWR7s/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [756 B] 131s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 131s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 132s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 132s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 132s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 132s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-zope.interface arm64 7.1.1-1 [140 kB] 132s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.proxy arm64 6.1-1 [28.3 kB] 132s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.deferredimport all 5.0-2 [7812 B] 132s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-ply all 3.11-7 [45.4 kB] 132s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pycparser all 2.22-2 [76.5 kB] 132s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cffi all 1.17.1-2 [74.8 kB] 132s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-persistent arm64 6.1-1 [60.6 kB] 132s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-btrees arm64 6.1-1 [267 kB] 132s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 132s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 132s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 132s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 132s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.event all 5.0-0.1 [7512 B] 132s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.testing all 5.0.1-1 [27.8 kB] 132s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.exceptions all 5.2-1 [16.8 kB] 132s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.i18nmessageid arm64 7.0-1 [14.6 kB] 132s Get:23 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.schema all 7.0.1-1 [61.9 kB] 132s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.configuration all 5.0.1-1 [51.4 kB] 132s Get:25 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.hookable arm64 6.0-3 [12.0 kB] 132s Get:26 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.component all 6.0-1 [40.8 kB] 132s Get:27 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.location all 5.0-2 [13.7 kB] 132s Get:28 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.security arm64 7.3-1 [82.4 kB] 132s Fetched 7119 kB in 1s (6995 kB/s) 132s Selecting previously unselected package libpython3.13-minimal:arm64. 132s (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 ... 79931 files and directories currently installed.) 132s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_arm64.deb ... 132s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 132s Selecting previously unselected package python3.13-minimal. 132s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_arm64.deb ... 132s Unpacking python3.13-minimal (3.13.0-2) ... 133s Selecting previously unselected package libpython3.13-stdlib:arm64. 133s Preparing to unpack .../02-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 133s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 133s Selecting previously unselected package python3.13. 133s Preparing to unpack .../03-python3.13_3.13.0-2_arm64.deb ... 133s Unpacking python3.13 (3.13.0-2) ... 133s Selecting previously unselected package python3-all. 133s Preparing to unpack .../04-python3-all_3.12.7-1_arm64.deb ... 133s Unpacking python3-all (3.12.7-1) ... 133s Selecting previously unselected package python3-zope.interface. 133s Preparing to unpack .../05-python3-zope.interface_7.1.1-1_arm64.deb ... 133s Unpacking python3-zope.interface (7.1.1-1) ... 133s Selecting previously unselected package python3-zope.proxy. 133s Preparing to unpack .../06-python3-zope.proxy_6.1-1_arm64.deb ... 133s Unpacking python3-zope.proxy (6.1-1) ... 133s Selecting previously unselected package python3-zope.deferredimport. 133s Preparing to unpack .../07-python3-zope.deferredimport_5.0-2_all.deb ... 133s Unpacking python3-zope.deferredimport (5.0-2) ... 133s Selecting previously unselected package python3-ply. 133s Preparing to unpack .../08-python3-ply_3.11-7_all.deb ... 133s Unpacking python3-ply (3.11-7) ... 133s Selecting previously unselected package python3-pycparser. 133s Preparing to unpack .../09-python3-pycparser_2.22-2_all.deb ... 133s Unpacking python3-pycparser (2.22-2) ... 133s Selecting previously unselected package python3-cffi. 133s Preparing to unpack .../10-python3-cffi_1.17.1-2_all.deb ... 133s Unpacking python3-cffi (1.17.1-2) ... 133s Selecting previously unselected package python3-persistent. 133s Preparing to unpack .../11-python3-persistent_6.1-1_arm64.deb ... 133s Unpacking python3-persistent (6.1-1) ... 133s Selecting previously unselected package python3-btrees. 133s Preparing to unpack .../12-python3-btrees_6.1-1_arm64.deb ... 133s Unpacking python3-btrees (6.1-1) ... 133s Selecting previously unselected package python3-iniconfig. 133s Preparing to unpack .../13-python3-iniconfig_1.1.1-2_all.deb ... 133s Unpacking python3-iniconfig (1.1.1-2) ... 133s Selecting previously unselected package python3-packaging. 133s Preparing to unpack .../14-python3-packaging_24.1-1_all.deb ... 133s Unpacking python3-packaging (24.1-1) ... 133s Selecting previously unselected package python3-pluggy. 133s Preparing to unpack .../15-python3-pluggy_1.5.0-1_all.deb ... 133s Unpacking python3-pluggy (1.5.0-1) ... 133s Selecting previously unselected package python3-pytest. 133s Preparing to unpack .../16-python3-pytest_8.3.3-1_all.deb ... 133s Unpacking python3-pytest (8.3.3-1) ... 133s Selecting previously unselected package python3-zope.event. 133s Preparing to unpack .../17-python3-zope.event_5.0-0.1_all.deb ... 133s Unpacking python3-zope.event (5.0-0.1) ... 133s Selecting previously unselected package python3-zope.testing. 133s Preparing to unpack .../18-python3-zope.testing_5.0.1-1_all.deb ... 133s Unpacking python3-zope.testing (5.0.1-1) ... 133s Selecting previously unselected package python3-zope.exceptions. 133s Preparing to unpack .../19-python3-zope.exceptions_5.2-1_all.deb ... 133s Unpacking python3-zope.exceptions (5.2-1) ... 133s Selecting previously unselected package python3-zope.i18nmessageid. 133s Preparing to unpack .../20-python3-zope.i18nmessageid_7.0-1_arm64.deb ... 133s Unpacking python3-zope.i18nmessageid (7.0-1) ... 134s Selecting previously unselected package python3-zope.schema. 134s Preparing to unpack .../21-python3-zope.schema_7.0.1-1_all.deb ... 134s Unpacking python3-zope.schema (7.0.1-1) ... 134s Selecting previously unselected package python3-zope.configuration. 134s Preparing to unpack .../22-python3-zope.configuration_5.0.1-1_all.deb ... 134s Unpacking python3-zope.configuration (5.0.1-1) ... 134s Selecting previously unselected package python3-zope.hookable. 134s Preparing to unpack .../23-python3-zope.hookable_6.0-3_arm64.deb ... 134s Unpacking python3-zope.hookable (6.0-3) ... 134s Selecting previously unselected package python3-zope.component. 134s Preparing to unpack .../24-python3-zope.component_6.0-1_all.deb ... 134s Unpacking python3-zope.component (6.0-1) ... 134s Selecting previously unselected package python3-zope.location. 134s Preparing to unpack .../25-python3-zope.location_5.0-2_all.deb ... 134s Unpacking python3-zope.location (5.0-2) ... 134s Selecting previously unselected package python3-zope.security. 134s Preparing to unpack .../26-python3-zope.security_7.3-1_arm64.deb ... 134s Unpacking python3-zope.security (7.3-1) ... 134s Selecting previously unselected package autopkgtest-satdep. 134s Preparing to unpack .../27-1-autopkgtest-satdep.deb ... 134s Unpacking autopkgtest-satdep (0) ... 134s Setting up python3-iniconfig (1.1.1-2) ... 134s Setting up python3-zope.event (5.0-0.1) ... 134s Setting up python3-zope.interface (7.1.1-1) ... 135s Setting up python3-ply (3.11-7) ... 135s Setting up python3-zope.exceptions (5.2-1) ... 136s Setting up python3-pycparser (2.22-2) ... 136s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 136s Setting up python3-packaging (24.1-1) ... 136s Setting up python3-zope.hookable (6.0-3) ... 137s Setting up python3-zope.i18nmessageid (7.0-1) ... 137s Setting up python3-zope.testing (5.0.1-1) ... 137s Setting up python3-pluggy (1.5.0-1) ... 138s Setting up python3.13-minimal (3.13.0-2) ... 139s Setting up python3-zope.proxy (6.1-1) ... 139s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 139s Setting up python3-zope.schema (7.0.1-1) ... 140s Setting up python3.13 (3.13.0-2) ... 141s Setting up python3-pytest (8.3.3-1) ... 142s Setting up python3-cffi (1.17.1-2) ... 142s Setting up python3-all (3.12.7-1) ... 142s Setting up python3-zope.component (6.0-1) ... 142s Setting up python3-zope.deferredimport (5.0-2) ... 143s Setting up python3-zope.configuration (5.0.1-1) ... 143s Setting up python3-persistent (6.1-1) ... 143s Setting up python3-btrees (6.1-1) ... 144s Setting up python3-zope.location (5.0-2) ... 144s Setting up python3-zope.security (7.3-1) ... 144s Setting up autopkgtest-satdep (0) ... 144s Processing triggers for man-db (2.12.1-3) ... 145s Processing triggers for systemd (256.5-2ubuntu4) ... 149s (Reading database ... 81601 files and directories currently installed.) 149s Removing autopkgtest-satdep (0) ... 149s autopkgtest [11:36:09]: test upstream-unittest: [----------------------- 150s [*] testing python3.13: 150s ============================= test session starts ============================== 150s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 150s rootdir: /tmp/autopkgtest.ahWR7s/autopkgtest_tmp 150s plugins: typeguard-4.4.1 150s collected 716 items 150s 150s 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%] 162s FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 64%] 162s FFFF.................................................................... [ 74%] 162s ........................................................................ [ 84%] 162s ............................................. [ 91%] 162s tests/test_simpleinteraction.py ..... [ 91%] 162s tests/test_simplepolicies.py ............... [ 93%] 162s tests/test_testing.py ..... [ 94%] 162s 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 12.26s =========== 163s autopkgtest [11:36:23]: test upstream-unittest: -----------------------] 163s upstream-unittest FAIL non-zero exit status 1 163s autopkgtest [11:36:23]: test upstream-unittest: - - - - - - - - - - results - - - - - - - - - - 164s autopkgtest [11:36:24]: @@@@@@@@@@@@@@@@@@@@ summary 164s upstream-unittest FAIL non-zero exit status 1 176s virt: nova [W] Skipping flock in bos03-arm64 176s virt: Creating nova instance adt-plucky-arm64-zope.security-20241113-113339-juju-7f2275-prod-proposed-migration-environment-2-6933db43-9d83-4109-8db6-bed3d3beec52 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)...