diff options
author | Michael Howitz <mh@gocept.com> | 2021-11-23 08:24:30 +0100 |
---|---|---|
committer | Michael Howitz <mh@gocept.com> | 2021-11-23 08:24:30 +0100 |
commit | 24075deef5fa998ced091b05b54699f10a3776b5 (patch) | |
tree | b74c65ee2fcc653524337fa78a2d622b6051afdb /docs | |
parent | c604df3bf2a44538a006bbf6414121a6aa0abbb9 (diff) | |
download | zope-security-24075deef5fa998ced091b05b54699f10a3776b5.tar.gz |
Fix tests on Python 3.10 + lint.config-with-c-code
Diffstat (limited to 'docs')
-rw-r--r-- | docs/proxy.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/proxy.rst b/docs/proxy.rst index 5262e7a..971975e 100644 --- a/docs/proxy.rst +++ b/docs/proxy.rst @@ -320,7 +320,10 @@ unexpectedly: .. doctest:: - >>> from collections import Mapping + >>> try: + ... from collections.abc import Mapping + ... except ImportError: # PY2 + ... from collections import Mapping >>> from abc import ABCMeta >>> isinstance(Mapping, ABCMeta) True |