From 9f9b4106a10557dcdd621a67be7cb90e5d17e98f Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Wed, 8 Aug 2018 18:15:01 +0300 Subject: Fix test failure on Python 3.7 ABCMeta._abc_invalidation_counter is no more. The test passes if we don't touch it, so we're all good? There are no more hidden caches we need to worry about? Anybody want to dig into this deeper? --- docs/proxy.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/proxy.rst b/docs/proxy.rst index 2b01ee0..17c9f53 100644 --- a/docs/proxy.rst +++ b/docs/proxy.rst @@ -343,12 +343,14 @@ In this case, the workarounds described :ref:`above ` al .. pure-python platforms to make sure that we get where .. we expect to be when we construct LogRecord; otherwise .. the ProxyMetaclass may be in the negative cache, bypassing -.. the issubclass() calls we expect +.. the issubclass() calls we expect. +.. Note that ABCMeta._abc_invalidation_counter is gone in Python 3.7 .. doctest:: :hide: - >>> ABCMeta._abc_invalidation_counter += 1 + >>> if hasattr(ABCMeta, '_abc_invalidation_counter'): + ... ABCMeta._abc_invalidation_counter += 1 logging ~~~~~~~ -- cgit v1.2.1