From ff903900c3506969f735bc30cda5566c4904637f Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 28 Jan 2016 15:13:41 +0100 Subject: [PATCH 1/2] Test fix test for changed zope.interface comparison method, which incorrectly reports two different Interfaces from the same module but with empty name as being equal. --- CHANGES.rst | 3 ++- plone/autoform/autoform.txt | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 336fa55..187f5ce 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,7 +10,8 @@ New: Fixes: -- *add item here* +- Test fix test for changed ``zope.interface`` comparison method, which incorrectly reports two different Interfaces from the same module but with empty name as being equal. + [thet] 1.6.1 (2014-10-20) diff --git a/plone/autoform/autoform.txt b/plone/autoform/autoform.txt index 977781a..833fe44 100644 --- a/plone/autoform/autoform.txt +++ b/plone/autoform/autoform.txt @@ -385,6 +385,9 @@ condition for group naming when autoGroups is True. ... >>> IAnotherAnonymousSchema.__name__ = '' +Fix for https://github.com/zopefoundation/zope.interface/issues/31 + >>> IAnotherAnonymousSchema.__module__ = 'different.module' + Create an extrinsicly stored name mapping: >>> nameToSchema = { From 89d8db61122ccf93f1f4ba093d175abe0f2a10f8 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Fri, 29 Jan 2016 02:24:52 +0100 Subject: [PATCH 2/2] Update CHANGES.rst --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 187f5ce..e067c18 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,7 +10,7 @@ New: Fixes: -- Test fix test for changed ``zope.interface`` comparison method, which incorrectly reports two different Interfaces from the same module but with empty name as being equal. +- Fix test for changed ``zope.interface`` comparison method, which incorrectly reports two different Interfaces from the same module but with empty name as being equal. [thet]