diff options
-rw-r--r-- | src/zope/interface/common/tests/test_collections.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/zope/interface/common/tests/test_collections.py b/src/zope/interface/common/tests/test_collections.py index 95dbd3f..152626b 100644 --- a/src/zope/interface/common/tests/test_collections.py +++ b/src/zope/interface/common/tests/test_collections.py @@ -126,6 +126,7 @@ class TestVerifyClass(VerifyClassMixin, unittest.TestCase): }) NON_STRICT_RO = { } + else: UNVERIFIABLE_RO = { # ``array.array`` fails the ``test_auto_ro_*`` tests with and # without strict RO but only on Windows (AppVeyor) on Python 3.10.0 @@ -170,3 +171,11 @@ class TestVerifyObject(VerifyObjectMixin, CONSTRUCTORS.update({ collections.IValuesView: {}.viewvalues, }) + else: + UNVERIFIABLE_RO = { + # ``array.array`` fails the ``test_auto_ro_*`` tests with and + # without strict RO but only on Windows (AppVeyor) on Python 3.10.0 + # (in older versions ``array.array`` does not appear as + # ``IMutableSequence``). + array.array, + } |