[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/interface/t Removed the unused persistent type registry.

Jim Fulton jim at zope.com
Sat May 29 08:20:43 EDT 2004


Log message for revision 25122:
Removed the unused persistent type registry.



-=-
Deleted: Zope3/trunk/src/zope/app/interface/tests/test_type.py
===================================================================
--- Zope3/trunk/src/zope/app/interface/tests/test_type.py	2004-05-29 12:19:53 UTC (rev 25121)
+++ Zope3/trunk/src/zope/app/interface/tests/test_type.py	2004-05-29 12:20:42 UTC (rev 25122)
@@ -1,32 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2003 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Persistent Type Registry Tests
-
-$Id$
-"""
-
-from unittest import TestSuite, makeSuite
-from zope.interface.tests.test_type import TestTypeRegistry
-from zope.app.interface.type import PersistentTypeRegistry
-
-class Test(TestTypeRegistry):
-
-    def new_instance(self):
-        return PersistentTypeRegistry()
-
-
-def test_suite():
-    return TestSuite((
-        makeSuite(Test),
-        ))

Deleted: Zope3/trunk/src/zope/app/interface/type.py
===================================================================
--- Zope3/trunk/src/zope/app/interface/type.py	2004-05-29 12:19:53 UTC (rev 25121)
+++ Zope3/trunk/src/zope/app/interface/type.py	2004-05-29 12:20:42 UTC (rev 25122)
@@ -1,23 +0,0 @@
-##############################################################################
-# Copyright (c) 2003 Zope Corporation and Contributors.
-# All Rights Reserved.
-# 
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-##############################################################################
-"""Persistent type registry
-
-$Id$
-"""
-from persistent import Persistent
-from persistent.dict import PersistentDict
-from zope.interface.type import TypeRegistry
-
-class PersistentTypeRegistry(Persistent, TypeRegistry):
-
-    def __init__(self):
-        super(PersistentTypeRegistry, self).__init__(PersistentDict())




More information about the Zope3-Checkins mailing list