0s autopkgtest [07:36:41]: starting date and time: 2024-11-14 07:36:41+0000 0s autopkgtest [07:36:41]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [07:36:41]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.dzpxr_0p/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src: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' -- lxd -r lxd-armhf-10.145.243.27 lxd-armhf-10.145.243.27:autopkgtest/ubuntu/plucky/armhf 53s autopkgtest [07:37:34]: testbed dpkg architecture: armhf 55s autopkgtest [07:37:36]: testbed apt version: 2.9.8 55s autopkgtest [07:37:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 64s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 64s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [98.0 kB] 64s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.4 kB] 64s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [985 kB] 64s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [103 kB] 64s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [686 kB] 64s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5040 B] 64s Fetched 1974 kB in 1s (2016 kB/s) 64s Reading package lists... 82s tee: /proc/self/fd/2: Permission denied 104s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 104s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 104s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 104s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 105s Reading package lists... 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 106s Calculating upgrade... 107s The following NEW packages will be installed: 107s python3.13-gdbm 107s The following packages will be upgraded: 107s libpython3-stdlib python3 python3-gdbm python3-minimal 107s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 99.6 kB of archives. 107s After this operation, 91.1 kB of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 107s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 107s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 107s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 107s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 108s Fetched 99.6 kB in 0s (281 kB/s) 108s (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 ... 59560 files and directories currently installed.) 108s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 108s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Setting up python3-minimal (3.12.7-1) ... 108s (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 ... 59560 files and directories currently installed.) 108s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 108s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 108s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Selecting previously unselected package python3.13-gdbm. 108s Preparing to unpack .../python3.13-gdbm_3.13.0-2_armhf.deb ... 108s Unpacking python3.13-gdbm (3.13.0-2) ... 108s Preparing to unpack .../python3-gdbm_3.12.7-1_armhf.deb ... 108s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 108s Setting up python3.13-gdbm (3.13.0-2) ... 108s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 108s Setting up python3 (3.12.7-1) ... 109s Setting up python3-gdbm:armhf (3.12.7-1) ... 109s Processing triggers for man-db (2.12.1-3) ... 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 111s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [07:38:34]: rebooting testbed after setup commands that affected boot 183s autopkgtest [07:39:44]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 212s autopkgtest [07:40:13]: @@@@@@@@@@@@@@@@@@@@ apt-source zope.security 222s Get:1 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (dsc) [2633 B] 222s Get:2 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (tar) [146 kB] 222s Get:3 http://ftpmaster.internal/ubuntu plucky/universe zope.security 7.3-1 (diff) [5188 B] 223s gpgv: Signature made Sun Oct 6 13:32:34 2024 UTC 223s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 223s gpgv: Can't check signature: No public key 223s dpkg-source: warning: cannot verify inline signature for ./zope.security_7.3-1.dsc: no acceptable signature found 223s autopkgtest [07:40:24]: testing package zope.security version 7.3-1 225s autopkgtest [07:40:26]: build not needed 227s autopkgtest [07:40:28]: test upstream-unittest: preparing testbed 238s Reading package lists... 238s Building dependency tree... 238s Reading state information... 238s Starting pkgProblemResolver with broken count: 0 239s Starting 2 pkgProblemResolver with broken count: 0 239s Done 239s The following additional packages will be installed: 239s libpython3.13-minimal libpython3.13-stdlib python3-all python3-btrees 239s python3-cffi python3-iniconfig python3-packaging python3-persistent 239s python3-pluggy python3-ply python3-pycparser python3-pytest 239s python3-zope.component python3-zope.configuration 239s python3-zope.deferredimport python3-zope.event python3-zope.exceptions 239s python3-zope.hookable python3-zope.i18nmessageid python3-zope.interface 239s python3-zope.location python3-zope.proxy python3-zope.schema 239s python3-zope.security python3-zope.testing python3.13 python3.13-minimal 239s Suggested packages: 239s python-btrees-doc python3-dev python-persistent-doc python-ply-doc cpp 239s python3.13-venv python3.13-doc binfmt-support 240s The following NEW packages will be installed: 240s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 240s python3-btrees python3-cffi python3-iniconfig python3-packaging 240s python3-persistent python3-pluggy python3-ply python3-pycparser 240s python3-pytest python3-zope.component python3-zope.configuration 240s python3-zope.deferredimport python3-zope.event python3-zope.exceptions 240s python3-zope.hookable python3-zope.i18nmessageid python3-zope.interface 240s python3-zope.location python3-zope.proxy python3-zope.schema 240s python3-zope.security python3-zope.testing python3.13 python3.13-minimal 240s 0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded. 240s Need to get 6727 kB/6727 kB of archives. 240s After this operation, 27.0 MB of additional disk space will be used. 240s Get:1 /tmp/autopkgtest.r6jyec/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [756 B] 240s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 240s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 240s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 240s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 240s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 240s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf python3-zope.interface armhf 7.1.1-1 [138 kB] 240s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.proxy armhf 6.1-1 [26.6 kB] 240s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.deferredimport all 5.0-2 [7812 B] 240s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf python3-ply all 3.11-7 [45.4 kB] 240s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pycparser all 2.22-2 [76.5 kB] 240s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cffi all 1.17.1-2 [74.8 kB] 240s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-persistent armhf 6.1-1 [57.0 kB] 240s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-btrees armhf 6.1-1 [243 kB] 240s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 240s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 240s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 240s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 240s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.event all 5.0-0.1 [7512 B] 240s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.testing all 5.0.1-1 [27.8 kB] 240s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.exceptions all 5.2-1 [16.8 kB] 240s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.i18nmessageid armhf 7.0-1 [14.0 kB] 240s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.schema all 7.0.1-1 [61.9 kB] 241s Get:24 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.configuration all 5.0.1-1 [51.4 kB] 241s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.hookable armhf 6.0-3 [11.5 kB] 241s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.component all 6.0-1 [40.8 kB] 241s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.location all 5.0-2 [13.7 kB] 241s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-zope.security armhf 7.3-1 [80.7 kB] 241s Fetched 6727 kB in 1s (6682 kB/s) 241s Selecting previously unselected package libpython3.13-minimal:armhf. 241s (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 ... 59567 files and directories currently installed.) 241s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 241s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 241s Selecting previously unselected package python3.13-minimal. 241s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 241s Unpacking python3.13-minimal (3.13.0-2) ... 241s Selecting previously unselected package libpython3.13-stdlib:armhf. 241s Preparing to unpack .../02-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 241s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 241s Selecting previously unselected package python3.13. 241s Preparing to unpack .../03-python3.13_3.13.0-2_armhf.deb ... 241s Unpacking python3.13 (3.13.0-2) ... 241s Selecting previously unselected package python3-all. 241s Preparing to unpack .../04-python3-all_3.12.7-1_armhf.deb ... 241s Unpacking python3-all (3.12.7-1) ... 241s Selecting previously unselected package python3-zope.interface. 241s Preparing to unpack .../05-python3-zope.interface_7.1.1-1_armhf.deb ... 241s Unpacking python3-zope.interface (7.1.1-1) ... 241s Selecting previously unselected package python3-zope.proxy. 242s Preparing to unpack .../06-python3-zope.proxy_6.1-1_armhf.deb ... 242s Unpacking python3-zope.proxy (6.1-1) ... 242s Selecting previously unselected package python3-zope.deferredimport. 242s Preparing to unpack .../07-python3-zope.deferredimport_5.0-2_all.deb ... 242s Unpacking python3-zope.deferredimport (5.0-2) ... 242s Selecting previously unselected package python3-ply. 242s Preparing to unpack .../08-python3-ply_3.11-7_all.deb ... 242s Unpacking python3-ply (3.11-7) ... 242s Selecting previously unselected package python3-pycparser. 242s Preparing to unpack .../09-python3-pycparser_2.22-2_all.deb ... 242s Unpacking python3-pycparser (2.22-2) ... 242s Selecting previously unselected package python3-cffi. 242s Preparing to unpack .../10-python3-cffi_1.17.1-2_all.deb ... 242s Unpacking python3-cffi (1.17.1-2) ... 242s Selecting previously unselected package python3-persistent. 242s Preparing to unpack .../11-python3-persistent_6.1-1_armhf.deb ... 242s Unpacking python3-persistent (6.1-1) ... 242s Selecting previously unselected package python3-btrees. 242s Preparing to unpack .../12-python3-btrees_6.1-1_armhf.deb ... 242s Unpacking python3-btrees (6.1-1) ... 242s Selecting previously unselected package python3-iniconfig. 242s Preparing to unpack .../13-python3-iniconfig_1.1.1-2_all.deb ... 242s Unpacking python3-iniconfig (1.1.1-2) ... 242s Selecting previously unselected package python3-packaging. 242s Preparing to unpack .../14-python3-packaging_24.1-1_all.deb ... 242s Unpacking python3-packaging (24.1-1) ... 242s Selecting previously unselected package python3-pluggy. 242s Preparing to unpack .../15-python3-pluggy_1.5.0-1_all.deb ... 242s Unpacking python3-pluggy (1.5.0-1) ... 242s Selecting previously unselected package python3-pytest. 242s Preparing to unpack .../16-python3-pytest_8.3.3-1_all.deb ... 242s Unpacking python3-pytest (8.3.3-1) ... 242s Selecting previously unselected package python3-zope.event. 242s Preparing to unpack .../17-python3-zope.event_5.0-0.1_all.deb ... 242s Unpacking python3-zope.event (5.0-0.1) ... 242s Selecting previously unselected package python3-zope.testing. 242s Preparing to unpack .../18-python3-zope.testing_5.0.1-1_all.deb ... 242s Unpacking python3-zope.testing (5.0.1-1) ... 242s Selecting previously unselected package python3-zope.exceptions. 242s Preparing to unpack .../19-python3-zope.exceptions_5.2-1_all.deb ... 242s Unpacking python3-zope.exceptions (5.2-1) ... 242s Selecting previously unselected package python3-zope.i18nmessageid. 242s Preparing to unpack .../20-python3-zope.i18nmessageid_7.0-1_armhf.deb ... 242s Unpacking python3-zope.i18nmessageid (7.0-1) ... 242s Selecting previously unselected package python3-zope.schema. 242s Preparing to unpack .../21-python3-zope.schema_7.0.1-1_all.deb ... 242s Unpacking python3-zope.schema (7.0.1-1) ... 242s Selecting previously unselected package python3-zope.configuration. 242s Preparing to unpack .../22-python3-zope.configuration_5.0.1-1_all.deb ... 242s Unpacking python3-zope.configuration (5.0.1-1) ... 242s Selecting previously unselected package python3-zope.hookable. 242s Preparing to unpack .../23-python3-zope.hookable_6.0-3_armhf.deb ... 242s Unpacking python3-zope.hookable (6.0-3) ... 242s Selecting previously unselected package python3-zope.component. 242s Preparing to unpack .../24-python3-zope.component_6.0-1_all.deb ... 242s Unpacking python3-zope.component (6.0-1) ... 242s Selecting previously unselected package python3-zope.location. 242s Preparing to unpack .../25-python3-zope.location_5.0-2_all.deb ... 242s Unpacking python3-zope.location (5.0-2) ... 242s Selecting previously unselected package python3-zope.security. 242s Preparing to unpack .../26-python3-zope.security_7.3-1_armhf.deb ... 242s Unpacking python3-zope.security (7.3-1) ... 242s Selecting previously unselected package autopkgtest-satdep. 242s Preparing to unpack .../27-1-autopkgtest-satdep.deb ... 242s Unpacking autopkgtest-satdep (0) ... 242s Setting up python3-iniconfig (1.1.1-2) ... 243s Setting up python3-zope.event (5.0-0.1) ... 243s Setting up python3-zope.interface (7.1.1-1) ... 244s Setting up python3-ply (3.11-7) ... 244s Setting up python3-zope.exceptions (5.2-1) ... 244s Setting up python3-pycparser (2.22-2) ... 244s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 244s Setting up python3-packaging (24.1-1) ... 245s Setting up python3-zope.hookable (6.0-3) ... 245s Setting up python3-zope.i18nmessageid (7.0-1) ... 245s Setting up python3-zope.testing (5.0.1-1) ... 245s Setting up python3-pluggy (1.5.0-1) ... 246s Setting up python3.13-minimal (3.13.0-2) ... 247s Setting up python3-zope.proxy (6.1-1) ... 247s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 247s Setting up python3-zope.schema (7.0.1-1) ... 247s Setting up python3.13 (3.13.0-2) ... 248s Setting up python3-pytest (8.3.3-1) ... 249s Setting up python3-cffi (1.17.1-2) ... 250s Setting up python3-all (3.12.7-1) ... 250s Setting up python3-zope.component (6.0-1) ... 250s Setting up python3-zope.deferredimport (5.0-2) ... 250s Setting up python3-zope.configuration (5.0.1-1) ... 251s Setting up python3-persistent (6.1-1) ... 251s Setting up python3-btrees (6.1-1) ... 251s Setting up python3-zope.location (5.0-2) ... 251s Setting up python3-zope.security (7.3-1) ... 252s Setting up autopkgtest-satdep (0) ... 252s Processing triggers for man-db (2.12.1-3) ... 252s Processing triggers for systemd (256.5-2ubuntu4) ... 267s (Reading database ... 61237 files and directories currently installed.) 267s Removing autopkgtest-satdep (0) ... 274s autopkgtest [07:41:14]: test upstream-unittest: [----------------------- 276s [*] testing python3.13: 277s ============================= test session starts ============================== 277s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 277s rootdir: /tmp/autopkgtest.r6jyec/autopkgtest_tmp 277s plugins: typeguard-4.4.1 277s collected 716 items 277s 277s tests/test_adapter.py ........................ [ 3%] 277s tests/test_checker.py ..............................F................... [ 10%] 277s ...........F..............................F............................. [ 20%] 277s ................sssssss................................................. [ 30%] 277s ..................................... [ 35%] 277s tests/test_compile_flags.py . [ 35%] 277s tests/test_decorator.py ....... [ 36%] 277s tests/test_location.py .. [ 37%] 277s tests/test_management.py ................ [ 39%] 277s tests/test_metaconfigure.py ................................. [ 43%] 277s tests/test_permission.py .................. [ 46%] 277s tests/test_protectclass.py ........ [ 47%] 280s tests/test_proxy.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 54%] 286s FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 64%] 286s FFFF.................................................................... [ 74%] 286s ........................................................................ [ 84%] 286s ............................................. [ 91%] 286s tests/test_simpleinteraction.py ..... [ 91%] 286s tests/test_simplepolicies.py ............... [ 93%] 286s tests/test_testing.py ..... [ 94%] 286s tests/test_zcml.py ............. [ 96%] 286s tests/test_zcml_functest.py ......................... [100%] 286s 286s =================================== FAILURES =================================== 286s ___________ TestCheckerPy.test_iteration_of_btree_items_keys_values ____________ 286s 286s self = 286s 286s def test_iteration_of_btree_items_keys_values(self): 286s # iteration of BTree.items() is allowed by default. 286s > import BTrees 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_checker.py:480: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/BTrees/__init__.py:62: in 286s mod = create_module(family) 286s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:229: in create_module 286s populate_module(vars(mod), key_type, val_type, iface, mod) 286s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:137: in populate_module 286s from ._base import _fix_pickle 286s /usr/lib/python3/dist-packages/BTrees/_base.py:17: in 286s from persistent import Persistent 286s /usr/lib/python3/dist-packages/persistent/__init__.py:36: in 286s from persistent import picklecache as _picklecache 286s /usr/lib/python3/dist-packages/persistent/picklecache.py:29: in 286s from persistent.ring import Ring 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s ############################################################################## 286s # 286s # Copyright (c) 2015 Zope Foundation and Contributors. 286s # All Rights Reserved. 286s # 286s # This software is subject to the provisions of the Zope Public License, 286s # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 286s # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 286s # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 286s # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 286s # FOR A PARTICULAR PURPOSE. 286s # 286s ############################################################################## 286s 286s from zope.interface import Interface 286s from zope.interface import implementer 286s 286s > from persistent import _ring 286s E ModuleNotFoundError: No module named '_cffi_backend' 286s 286s /usr/lib/python3/dist-packages/persistent/ring.py:18: ModuleNotFoundError 286s ____________ TestChecker.test_iteration_of_btree_items_keys_values _____________ 286s 286s self = 286s 286s def test_iteration_of_btree_items_keys_values(self): 286s # iteration of BTree.items() is allowed by default. 286s > import BTrees 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_checker.py:480: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/BTrees/__init__.py:62: in 286s mod = create_module(family) 286s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:229: in create_module 286s populate_module(vars(mod), key_type, val_type, iface, mod) 286s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:137: in populate_module 286s from ._base import _fix_pickle 286s /usr/lib/python3/dist-packages/BTrees/_base.py:17: in 286s from persistent import Persistent 286s /usr/lib/python3/dist-packages/persistent/__init__.py:36: in 286s from persistent import picklecache as _picklecache 286s /usr/lib/python3/dist-packages/persistent/picklecache.py:29: in 286s from persistent.ring import Ring 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s ############################################################################## 286s # 286s # Copyright (c) 2015 Zope Foundation and Contributors. 286s # All Rights Reserved. 286s # 286s # This software is subject to the provisions of the Zope Public License, 286s # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 286s # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 286s # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 286s # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 286s # FOR A PARTICULAR PURPOSE. 286s # 286s ############################################################################## 286s 286s from zope.interface import Interface 286s from zope.interface import implementer 286s 286s > from persistent import _ring 286s E ModuleNotFoundError: No module named '_cffi_backend' 286s 286s /usr/lib/python3/dist-packages/persistent/ring.py:18: ModuleNotFoundError 286s ________ TestWatchingChecker.test_iteration_of_btree_items_keys_values _________ 286s 286s self = 286s 286s def test_iteration_of_btree_items_keys_values(self): 286s # iteration of BTree.items() is allowed by default. 286s > import BTrees 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_checker.py:480: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/BTrees/__init__.py:62: in 286s mod = create_module(family) 286s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:229: in create_module 286s populate_module(vars(mod), key_type, val_type, iface, mod) 286s /usr/lib/python3/dist-packages/BTrees/_module_builder.py:137: in populate_module 286s from ._base import _fix_pickle 286s /usr/lib/python3/dist-packages/BTrees/_base.py:17: in 286s from persistent import Persistent 286s /usr/lib/python3/dist-packages/persistent/__init__.py:36: in 286s from persistent import picklecache as _picklecache 286s /usr/lib/python3/dist-packages/persistent/picklecache.py:29: in 286s from persistent.ring import Ring 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s ############################################################################## 286s # 286s # Copyright (c) 2015 Zope Foundation and Contributors. 286s # All Rights Reserved. 286s # 286s # This software is subject to the provisions of the Zope Public License, 286s # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 286s # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 286s # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 286s # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 286s # FOR A PARTICULAR PURPOSE. 286s # 286s ############################################################################## 286s 286s from zope.interface import Interface 286s from zope.interface import implementer 286s 286s > from persistent import _ring 286s E ModuleNotFoundError: No module named '_cffi_backend' 286s 286s /usr/lib/python3/dist-packages/persistent/ring.py:18: ModuleNotFoundError 286s __________________ ProxyCTests.test___abs___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___abs___w_checker_allows(self): 286s target = -3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:533: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___abs___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___abs___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = -3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:541: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___add___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___add___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:368: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___add___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___add___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:376: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___and___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___and___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:599: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___and___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___and___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:607: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________________ ProxyCTests.test___bool___ __________________________ 286s 286s self = 286s 286s def test___bool___(self): 286s target = 12 286s checker = object() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:548: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________ ProxyCTests.test___call___w_checker_forbidden_attribute ____________ 286s 286s self = 286s 286s def test___call___w_checker_forbidden_attribute(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class Foo: 286s def __call__(self): 286s raise AssertionError("Never called") 286s target = Foo() 286s checker = DummyChecker(ForbiddenAttribute, ['__str__']) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:331: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________________ ProxyCTests.test___call___w_checker_ok ____________________ 286s 286s self = 286s 286s def test___call___w_checker_ok(self): 286s class Foo: 286s def __call__(self): 286s return 'Bar' 286s target = Foo() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:306: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___call___w_checker_unauthorized _______________ 286s 286s self = 286s 286s def test___call___w_checker_unauthorized(self): 286s from zope.security.interfaces import Unauthorized 286s 286s class Foo: 286s def __call__(self): 286s raise AssertionError("Never called") 286s target = Foo() 286s checker = DummyChecker(Unauthorized, ['__name__', '__str__']) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:319: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ______________ ProxyCTests.test___contains___hit_w_checker_allows ______________ 286s 286s self = 286s 286s def test___contains___hit_w_checker_allows(self): 286s target = [0, 1, 2] 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1083: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___contains___miss_w_checker_allows ______________ 286s 286s self = 286s 286s def test___contains___miss_w_checker_allows(self): 286s target = [0, 1, 2] 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1090: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___contains___w_checker_forbids ________________ 286s 286s self = 286s 286s def test___contains___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = [0, 1, 2] 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1098: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___delattr___w_checker_forbidden_attribute __________ 286s 286s self = 286s 286s def test___delattr___w_checker_forbidden_attribute(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class Foo: 286s def __init__(self): 286s self.bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:158: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___delattr___w_checker_ok ___________________ 286s 286s self = 286s 286s def test___delattr___w_checker_ok(self): 286s class Foo: 286s bar = None 286s target = Foo() 286s target.bar = 'Bar' 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:131: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___delattr___w_checker_unauthorized ______________ 286s 286s self = 286s 286s def test___delattr___w_checker_unauthorized(self): 286s from zope.security.interfaces import Unauthorized 286s 286s class Foo: 286s def __init__(self): 286s self.bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker(Unauthorized) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:145: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___divmod___w_checker_allows _________________ 286s 286s self = 286s 286s def test___divmod___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:458: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___divmod___w_checker_forbids _________________ 286s 286s self = 286s 286s def test___divmod___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:466: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___float___w_checker_allows __________________ 286s 286s self = 286s 286s def test___float___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:353: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___float___w_checker_forbids _________________ 286s 286s self = 286s 286s def test___float___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:361: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___floordiv___w_checker_allows ________________ 286s 286s self = 286s 286s def test___floordiv___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:428: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___floordiv___w_checker_forbids ________________ 286s 286s self = 286s 286s def test___floordiv___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:436: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___getattr___w_checker_forbidden_attribute __________ 286s 286s self = 286s 286s def test___getattr___w_checker_forbidden_attribute(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class Foo: 286s bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:67: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___getattr___w_checker_ok ___________________ 286s 286s self = 286s 286s def test___getattr___w_checker_ok(self): 286s class Foo: 286s bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:43: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___getattr___w_checker_unauthorized ______________ 286s 286s self = 286s 286s def test___getattr___w_checker_unauthorized(self): 286s from zope.security.interfaces import Unauthorized 286s 286s class Foo: 286s bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker(Unauthorized) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:56: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___getitem___mapping_hit_w_checker_allows ___________ 286s 286s self = 286s 286s def test___getitem___mapping_hit_w_checker_allows(self): 286s target = {'a': 0, 'b': 1, 'c': 2} 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1224: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___getitem___mapping_miss_w_checker_allows __________ 286s 286s self = 286s 286s def test___getitem___mapping_miss_w_checker_allows(self): 286s target = {'a': 0, 'b': 1, 'c': 2} 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1231: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________ ProxyCTests.test___getitem___mapping_w_checker_forbids ____________ 286s 286s self = 286s 286s def test___getitem___mapping_w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = {'a': 0, 'b': 1, 'c': 2} 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1239: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___getitem___sequence_hit_w_checker_allows __________ 286s 286s self = 286s 286s def test___getitem___sequence_hit_w_checker_allows(self): 286s target = [0, 1, 2] 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1105: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________ ProxyCTests.test___getitem___sequence_miss_w_checker_allows __________ 286s 286s self = 286s 286s def test___getitem___sequence_miss_w_checker_allows(self): 286s target = [0, 1, 2] 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1112: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________ ProxyCTests.test___getitem___sequence_w_checker_forbids ____________ 286s 286s self = 286s 286s def test___getitem___sequence_w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = [0, 1, 2] 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1120: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___getslice___dne_uses_getitem ________________ 286s 286s self = 286s 286s def test___getslice___dne_uses_getitem(self): 286s class Missing(Exception): 286s pass 286s 286s class Get: 286s def __getitem__(self, x): 286s raise Missing('__getitem__') 286s 286s target = Get() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1180: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___getslice___error_propagates ________________ 286s 286s self = 286s 286s def test___getslice___error_propagates(self): 286s class Missing(Exception): 286s pass 286s 286s class Get: 286s def __getitem__(self, x): 286s raise Missing('__getitem__') 286s 286s target = Get() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1163: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________________ ProxyCTests.test___hash___w_self _______________________ 286s 286s self = 286s 286s def test___hash___w_self(self): 286s target = object() 286s checker = object() # checker not consulted 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:297: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___iadd___inplace_checker_allows _______________ 286s 286s self = 286s 286s def test___iadd___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __iadd__(self, rhs): 286s self.value += rhs 286s return self 286s target = Foo(3) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:660: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___iadd___not_inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___iadd___not_inplace_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:644: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___iadd___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___iadd___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:670: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___iand___inplace_checker_allows _______________ 286s 286s self = 286s 286s def test___iand___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __iand__(self, rhs): 286s self.value &= rhs 286s return self 286s target = Foo(7) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:966: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___iand___not_inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___iand___not_inplace_checker_allows(self): 286s target = 7 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:950: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___iand___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___iand___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 7 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:976: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________ ProxyCTests.test___ifloordiv___inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___ifloordiv___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __ifloordiv__(self, rhs): 286s self.value //= rhs 286s return self 286s target = Foo(6) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:796: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___ifloordiv___not_inplace_checker_allows ___________ 286s 286s self = 286s 286s def test___ifloordiv___not_inplace_checker_allows(self): 286s target = 6 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:780: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___ifloordiv___w_checker_forbids _______________ 286s 286s self = 286s 286s def test___ifloordiv___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 6 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:806: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___ilshift___inplace_checker_allows ______________ 286s 286s self = 286s 286s def test___ilshift___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __ilshift__(self, rhs): 286s self.value <<= rhs 286s return self 286s target = Foo(2) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:898: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________ ProxyCTests.test___ilshift___not_inplace_checker_allows ____________ 286s 286s self = 286s 286s def test___ilshift___not_inplace_checker_allows(self): 286s target = 2 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:882: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___ilshift___w_checker_forbids ________________ 286s 286s self = 286s 286s def test___ilshift___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 2 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:908: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___imod___inplace_checker_allows _______________ 286s 286s self = 286s 286s def test___imod___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __imod__(self, rhs): 286s self.value %= rhs 286s return self 286s target = Foo(6) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:830: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___imod___not_inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___imod___not_inplace_checker_allows(self): 286s target = 6 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:814: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___imod___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___imod___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 6 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:840: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___imul___inplace_checker_allows _______________ 286s 286s self = 286s 286s def test___imul___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __imul__(self, rhs): 286s self.value *= rhs 286s return self 286s target = Foo(3) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:728: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___imul___not_inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___imul___not_inplace_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:712: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___imul___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___imul___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:738: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___int___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___int___w_checker_allows(self): 286s target = 3.0 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:338: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___int___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___int___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3.0 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:346: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___invert___w_checker_allows _________________ 286s 286s self = 286s 286s def test___invert___w_checker_allows(self): 286s target = 47 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:554: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___invert___w_checker_forbids _________________ 286s 286s self = 286s 286s def test___invert___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 47 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:562: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___ior___inplace_checker_allows ________________ 286s 286s self = 286s 286s def test___ior___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __ior__(self, rhs): 286s self.value |= rhs 286s return self 286s target = Foo(6) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1036: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___ior___not_inplace_checker_allows ______________ 286s 286s self = 286s 286s def test___ior___not_inplace_checker_allows(self): 286s target = 6 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1020: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___ior___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___ior___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 6 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1046: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___ipow___inplace_checker_allows _______________ 286s 286s self = 286s 286s def test___ipow___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __ipow__(self, rhs): 286s self.value **= rhs 286s return self 286s target = Foo(2) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:864: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___ipow___not_inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___ipow___not_inplace_checker_allows(self): 286s target = 2 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:848: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___ipow___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___ipow___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 2 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:874: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___irshift___inplace_checker_allows ______________ 286s 286s self = 286s 286s def test___irshift___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __irshift__(self, rhs): 286s self.value >>= rhs 286s return self 286s target = Foo(16) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:932: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________ ProxyCTests.test___irshift___not_inplace_checker_allows ____________ 286s 286s self = 286s 286s def test___irshift___not_inplace_checker_allows(self): 286s target = 16 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:916: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___irshift___w_checker_forbids ________________ 286s 286s self = 286s 286s def test___irshift___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 16 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:942: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___isub___inplace_checker_allows _______________ 286s 286s self = 286s 286s def test___isub___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __isub__(self, rhs): 286s self.value -= rhs 286s return self 286s target = Foo(3) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:694: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___isub___not_inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___isub___not_inplace_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:678: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___isub___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___isub___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:704: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___itruediv___inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___itruediv___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __itruediv__(self, rhs): 286s self.value /= rhs 286s return self 286s target = Foo(6) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:762: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________ ProxyCTests.test___itruediv___not_inplace_checker_allows ___________ 286s 286s self = 286s 286s def test___itruediv___not_inplace_checker_allows(self): 286s target = 6 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:746: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___itruediv___w_checker_forbids ________________ 286s 286s self = 286s 286s def test___itruediv___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 6 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:772: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______________ ProxyCTests.test___ixor___inplace_checker_allows _______________ 286s 286s self = 286s 286s def test___ixor___inplace_checker_allows(self): 286s class Foo: 286s def __init__(self, value): 286s self.value = value 286s 286s def __ixor__(self, rhs): 286s self.value ^= rhs 286s return self 286s target = Foo(7) 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1000: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___ixor___not_inplace_checker_allows _____________ 286s 286s self = 286s 286s def test___ixor___not_inplace_checker_allows(self): 286s target = 7 286s checker = DummyChecker() 286s > proxy = before = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:984: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___ixor___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___ixor___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 7 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1010: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___len___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___len___w_checker_allows(self): 286s target = [0, 1, 2] 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1054: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___len___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___len___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = [0, 1, 2] 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1062: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___lshift___w_checker_allows _________________ 286s 286s self = 286s 286s def test___lshift___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:569: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___lshift___w_checker_forbids _________________ 286s 286s self = 286s 286s def test___lshift___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:577: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___mod___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___mod___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:443: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___mod___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___mod___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:451: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___mul___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___mul___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:398: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___mul___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___mul___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:406: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___neg___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___neg___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:503: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___neg___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___neg___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:511: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________________ ProxyCTests.test___or___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___or___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:629: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___or___w_checker_forbids ___________________ 286s 286s self = 286s 286s def test___or___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:637: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___pos___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___pos___w_checker_allows(self): 286s target = -3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:518: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___pos___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___pos___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = -3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:526: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___pow___w_x_proxied_allowed _________________ 286s 286s self = 286s 286s def test___pow___w_x_proxied_allowed(self): 286s x, y, z = 3, 4, 7 286s checker = DummyChecker() 286s > proxy = self._makeOne(x, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:473: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___pow___w_x_proxied_forbidden ________________ 286s 286s self = 286s 286s def test___pow___w_x_proxied_forbidden(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s y, z = 4, 7 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(y, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:481: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___pow___w_y_proxied_allowed _________________ 286s 286s self = 286s 286s def test___pow___w_y_proxied_allowed(self): 286s x, y = 3, 4 286s checker = DummyChecker() 286s > proxy = self._makeOne(y, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:488: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___pow___w_y_proxied_forbidden ________________ 286s 286s self = 286s 286s def test___pow___w_y_proxied_forbidden(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s x, y = 3, 4 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(y, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:496: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___repr___checker_allows_str _________________ 286s 286s self = 286s 286s def test___repr___checker_allows_str(self): 286s target = object() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:198: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___repr___checker_forbids_str _________________ 286s 286s self = 286s 286s def test___repr___checker_forbids_str(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s from zope.security.proxy import _fmt_address 286s target = object() 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:206: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___rshift___w_checker_allows _________________ 286s 286s self = 286s 286s def test___rshift___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:584: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___rshift___w_checker_forbids _________________ 286s 286s self = 286s 286s def test___rshift___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:592: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___setattr___w_checker_forbidden_attribute __________ 286s 286s self = 286s 286s def test___setattr___w_checker_forbidden_attribute(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class Foo: 286s bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:121: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___setattr___w_checker_ok ___________________ 286s 286s self = 286s 286s def test___setattr___w_checker_ok(self): 286s class Foo: 286s bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:97: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________ ProxyCTests.test___setattr___w_checker_unauthorized ______________ 286s 286s self = 286s 286s def test___setattr___w_checker_unauthorized(self): 286s from zope.security.interfaces import Unauthorized 286s 286s class Foo: 286s bar = 'Bar' 286s target = Foo() 286s checker = DummyChecker(Unauthorized) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:110: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___setitem___mapping_hit_w_checker_allows ___________ 286s 286s self = 286s 286s def test___setitem___mapping_hit_w_checker_allows(self): 286s target = {'a': 0, 'b': 1, 'c': 2} 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1246: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________ ProxyCTests.test___setitem___mapping_w_checker_forbids ____________ 286s 286s self = 286s 286s def test___setitem___mapping_w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = {'a': 0, 'b': 1, 'c': 2} 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1255: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________ ProxyCTests.test___setitem___sequence_hit_w_checker_allows __________ 286s 286s self = 286s 286s def test___setitem___sequence_hit_w_checker_allows(self): 286s target = [0, 1, 2] 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1127: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________ ProxyCTests.test___setitem___sequence_miss_w_checker_allows __________ 286s 286s self = 286s 286s def test___setitem___sequence_miss_w_checker_allows(self): 286s target = [0, 1, 2] 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1135: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________ ProxyCTests.test___setitem___sequence_w_checker_forbids ____________ 286s 286s self = 286s 286s def test___setitem___sequence_w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = [0, 1, 2] 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1146: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___setslice___dne_uses_setitem ________________ 286s 286s self = 286s 286s def test___setslice___dne_uses_setitem(self): 286s class Missing(Exception): 286s pass 286s 286s class Set: 286s def __setitem__(self, k, v): 286s raise Missing('__setitem__') 286s 286s target = Set() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1214: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___setslice___error_propagates ________________ 286s 286s self = 286s 286s def test___setslice___error_propagates(self): 286s class Missing(Exception): 286s pass 286s 286s class Set: 286s def __setitem__(self, k, v): 286s raise Missing('__setitem__') 286s 286s target = Set() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1197: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___str___checker_allows_str __________________ 286s 286s self = 286s 286s def test___str___checker_allows_str(self): 286s target = object() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:166: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _________________ ProxyCTests.test___str___checker_forbids_str _________________ 286s 286s self = 286s 286s def test___str___checker_forbids_str(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s from zope.security.proxy import _fmt_address 286s target = object() 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:174: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _ ProxyCTests.test___str___doesnot_fall_through_to_repr_when_repr_not_allowed __ 286s 286s self = 286s 286s def test___str___doesnot_fall_through_to_repr_when_repr_not_allowed(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class CustomRepr: 286s def __repr__(self): 286s return "" 286s 286s target = CustomRepr() 286s checker = DummyChecker(ForbiddenAttribute, allowed=('__str__')) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:250: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __ ProxyCTests.test___str___doesnot_fall_through_to_repr_when_str_not_allowed __ 286s 286s self = 286s 286s def test___str___doesnot_fall_through_to_repr_when_str_not_allowed(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class CustomRepr: 286s def __repr__(self): 286s return "" 286s 286s target = CustomRepr() 286s checker = DummyChecker(ForbiddenAttribute, allowed=('__repr__')) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:236: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________________ ProxyCTests.test___str___fails_return _____________________ 286s 286s self = 286s 286s def test___str___fails_return(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class CustomStr: 286s def __str__(self): 286s "" # Docstring, not a return 286s 286s target = CustomStr() 286s checker = DummyChecker(ForbiddenAttribute, allowed=('__str__')) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:189: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____ ProxyCTests.test___str___falls_through_to_repr_but_repr_fails_return _____ 286s 286s self = 286s 286s def test___str___falls_through_to_repr_but_repr_fails_return(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class CustomRepr: 286s def __repr__(self): 286s "" # Docstring, not a return 286s 286s target = CustomRepr() 286s checker = DummyChecker(ForbiddenAttribute, allowed=('__repr__')) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:264: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _______ ProxyCTests.test___str___falls_through_to_repr_when_both_allowed _______ 286s 286s self = 286s 286s def test___str___falls_through_to_repr_when_both_allowed(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s 286s class CustomRepr: 286s def __repr__(self): 286s return "" 286s 286s target = CustomRepr() 286s checker = DummyChecker( 286s ForbiddenAttribute, allowed=("__str__", '__repr__')) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:222: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___sub___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___sub___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:383: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___sub___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___sub___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:391: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___truediv___w_checker_allows _________________ 286s 286s self = 286s 286s def test___truediv___w_checker_allows(self): 286s target = 3.0 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:413: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test___truediv___w_checker_forbids ________________ 286s 286s self = 286s 286s def test___truediv___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3.0 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:421: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___xor___w_checker_allows ___________________ 286s 286s self = 286s 286s def test___xor___w_checker_allows(self): 286s target = 3 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:614: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s __________________ ProxyCTests.test___xor___w_checker_forbids __________________ 286s 286s self = 286s 286s def test___xor___w_checker_forbids(self): 286s from zope.security.interfaces import ForbiddenAttribute 286s target = 3 286s checker = DummyChecker(ForbiddenAttribute) 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:622: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________________________ ProxyCTests.test__ge__ ____________________________ 286s 286s self = 286s 286s def test__ge__(self): 286s target = 1 286s checker = object() # checker not consulted 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:285: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____ ProxyCTests.test__getattr__w_checker_ok_dynamic_attribute_called_once _____ 286s 286s self = 286s 286s def test__getattr__w_checker_ok_dynamic_attribute_called_once(self): 286s class Dynamic: 286s count = 0 286s 286s def __getattr__(self, name): 286s self.count += 1 286s if self.count == 1: 286s # Called from __getattribute__ 286s raise AttributeError(name) 286s raise AssertionError("We should not be called more than once") 286s 286s target = Dynamic() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:86: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________________________ ProxyCTests.test__gt__ ____________________________ 286s 286s self = 286s 286s def test__gt__(self): 286s target = 1 286s checker = object() # checker not consulted 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:291: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________________________ ProxyCTests.test__le__ ____________________________ 286s 286s self = 286s 286s def test__le__(self): 286s target = 1 286s checker = object() # checker not consulted 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:273: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ______________________ ProxyCTests.test__length_hint_dne _______________________ 286s 286s self = 286s 286s def test__length_hint_dne(self): 286s target = object() 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1076: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ________________ ProxyCTests.test__length_hint_w_checker_allows ________________ 286s 286s self = 286s 286s def test__length_hint_w_checker_allows(self): 286s target = iter([0, 1, 2]) 286s checker = DummyChecker() 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1069: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ____________________________ ProxyCTests.test__ne__ ____________________________ 286s 286s self = 286s 286s def test__ne__(self): 286s target = 1 286s checker = object() # checker not consulted 286s > proxy = self._makeOne(target, checker) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:279: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s ___________________________ ProxyCTests.test_binops ____________________________ 286s 286s self = 286s 286s def test_binops(self): 286s from zope.security.proxy import removeSecurityProxy 286s checker = DummyChecker() 286s for expr in self.binops: 286s first = 1 286s > for x in [1, self._makeOne(1, checker)]: 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1272: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s self = 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s _____________________ ProxyCTests.test_ctor_w_checker_None _____________________ 286s 286s self = 286s 286s def test_ctor_w_checker_None(self): 286s > self.assertRaises(ValueError, self._makeOne, object(), None) 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:36: 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:33: in _makeOne 286s return self._getTargetClass()(obj, checker) 286s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286s 286s def _getTargetClass(self): # pragma: no cover 286s > from zope.security.proxy import _Proxy 286s E ImportError: cannot import name '_Proxy' from 'zope.security.proxy' (/usr/lib/python3/dist-packages/zope/security/proxy.py). Did you mean: 'proxy'? 286s 286s /usr/lib/python3/dist-packages/zope/security/tests/test_proxy.py:1290: ImportError 286s =============================== warnings summary =============================== 286s tests/test_adapter.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_checker.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_decorator.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_location.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_management.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_metaconfigure.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_permission.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_protectclass.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_proxy.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_simpleinteraction.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_simplepolicies.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_testing.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_zcml.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s tests/test_zcml_functest.py::test_suite 286s /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`? 286s warnings.warn( 286s 286s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 286s =========================== short test summary info ============================ 286s FAILED tests/test_checker.py::TestCheckerPy::test_iteration_of_btree_items_keys_values 286s FAILED tests/test_checker.py::TestChecker::test_iteration_of_btree_items_keys_values 286s FAILED tests/test_checker.py::TestWatchingChecker::test_iteration_of_btree_items_keys_values 286s FAILED tests/test_proxy.py::ProxyCTests::test___abs___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___abs___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___add___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___add___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___and___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___and___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___bool___ - ImportError: cannot... 286s FAILED tests/test_proxy.py::ProxyCTests::test___call___w_checker_forbidden_attribute 286s FAILED tests/test_proxy.py::ProxyCTests::test___call___w_checker_ok - ImportE... 286s FAILED tests/test_proxy.py::ProxyCTests::test___call___w_checker_unauthorized 286s FAILED tests/test_proxy.py::ProxyCTests::test___contains___hit_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___contains___miss_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___contains___w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___delattr___w_checker_forbidden_attribute 286s FAILED tests/test_proxy.py::ProxyCTests::test___delattr___w_checker_ok - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___delattr___w_checker_unauthorized 286s FAILED tests/test_proxy.py::ProxyCTests::test___divmod___w_checker_allows - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___divmod___w_checker_forbids - ... 286s FAILED tests/test_proxy.py::ProxyCTests::test___float___w_checker_allows - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___float___w_checker_forbids - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___floordiv___w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___floordiv___w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___getattr___w_checker_forbidden_attribute 286s FAILED tests/test_proxy.py::ProxyCTests::test___getattr___w_checker_ok - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___getattr___w_checker_unauthorized 286s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___mapping_hit_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___mapping_miss_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___mapping_w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___sequence_hit_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___sequence_miss_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___getitem___sequence_w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___getslice___dne_uses_getitem 286s FAILED tests/test_proxy.py::ProxyCTests::test___getslice___error_propagates 286s FAILED tests/test_proxy.py::ProxyCTests::test___hash___w_self - ImportError: ... 286s FAILED tests/test_proxy.py::ProxyCTests::test___iadd___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___iadd___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___iadd___w_checker_forbids - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___iand___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___iand___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___iand___w_checker_forbids - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___ifloordiv___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ifloordiv___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ifloordiv___w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___ilshift___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ilshift___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ilshift___w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___imod___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___imod___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___imod___w_checker_forbids - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___imul___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___imul___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___imul___w_checker_forbids - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___int___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___int___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___invert___w_checker_allows - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___invert___w_checker_forbids - ... 286s FAILED tests/test_proxy.py::ProxyCTests::test___ior___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ior___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ior___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___ipow___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ipow___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ipow___w_checker_forbids - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___irshift___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___irshift___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___irshift___w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___isub___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___isub___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___isub___w_checker_forbids - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___itruediv___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___itruediv___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___itruediv___w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___ixor___inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ixor___not_inplace_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___ixor___w_checker_forbids - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___len___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___len___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___lshift___w_checker_allows - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___lshift___w_checker_forbids - ... 286s FAILED tests/test_proxy.py::ProxyCTests::test___mod___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___mod___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___mul___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___mul___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___neg___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___neg___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___or___w_checker_allows - Impor... 286s FAILED tests/test_proxy.py::ProxyCTests::test___or___w_checker_forbids - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___pos___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___pos___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_x_proxied_allowed - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_x_proxied_forbidden 286s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_y_proxied_allowed - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___pow___w_y_proxied_forbidden 286s FAILED tests/test_proxy.py::ProxyCTests::test___repr___checker_allows_str - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___repr___checker_forbids_str - ... 286s FAILED tests/test_proxy.py::ProxyCTests::test___rshift___w_checker_allows - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___rshift___w_checker_forbids - ... 286s FAILED tests/test_proxy.py::ProxyCTests::test___setattr___w_checker_forbidden_attribute 286s FAILED tests/test_proxy.py::ProxyCTests::test___setattr___w_checker_ok - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___setattr___w_checker_unauthorized 286s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___mapping_hit_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___mapping_w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___sequence_hit_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___sequence_miss_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test___setitem___sequence_w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___setslice___dne_uses_setitem 286s FAILED tests/test_proxy.py::ProxyCTests::test___setslice___error_propagates 286s FAILED tests/test_proxy.py::ProxyCTests::test___str___checker_allows_str - Im... 286s FAILED tests/test_proxy.py::ProxyCTests::test___str___checker_forbids_str - I... 286s FAILED tests/test_proxy.py::ProxyCTests::test___str___doesnot_fall_through_to_repr_when_repr_not_allowed 286s FAILED tests/test_proxy.py::ProxyCTests::test___str___doesnot_fall_through_to_repr_when_str_not_allowed 286s FAILED tests/test_proxy.py::ProxyCTests::test___str___fails_return - ImportEr... 286s FAILED tests/test_proxy.py::ProxyCTests::test___str___falls_through_to_repr_but_repr_fails_return 286s FAILED tests/test_proxy.py::ProxyCTests::test___str___falls_through_to_repr_when_both_allowed 286s FAILED tests/test_proxy.py::ProxyCTests::test___sub___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___sub___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test___truediv___w_checker_allows - ... 286s FAILED tests/test_proxy.py::ProxyCTests::test___truediv___w_checker_forbids 286s FAILED tests/test_proxy.py::ProxyCTests::test___xor___w_checker_allows - Impo... 286s FAILED tests/test_proxy.py::ProxyCTests::test___xor___w_checker_forbids - Imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test__ge__ - ImportError: cannot imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test__getattr__w_checker_ok_dynamic_attribute_called_once 286s FAILED tests/test_proxy.py::ProxyCTests::test__gt__ - ImportError: cannot imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test__le__ - ImportError: cannot imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test__length_hint_dne - ImportError:... 286s FAILED tests/test_proxy.py::ProxyCTests::test__length_hint_w_checker_allows 286s FAILED tests/test_proxy.py::ProxyCTests::test__ne__ - ImportError: cannot imp... 286s FAILED tests/test_proxy.py::ProxyCTests::test_binops - ImportError: cannot im... 286s FAILED tests/test_proxy.py::ProxyCTests::test_ctor_w_checker_None - ImportErr... 286s =========== 131 failed, 578 passed, 7 skipped, 14 warnings in 10.35s =========== 287s autopkgtest [07:41:28]: test upstream-unittest: -----------------------] 291s autopkgtest [07:41:32]: test upstream-unittest: - - - - - - - - - - results - - - - - - - - - - 291s upstream-unittest FAIL non-zero exit status 1 295s autopkgtest [07:41:36]: @@@@@@@@@@@@@@@@@@@@ summary 295s upstream-unittest FAIL non-zero exit status 1