[Zope3-checkins] CVS: Zope3/src/zope/proxy/context/tests - test_decorator.py:1.10.2.1

Steve Alexander steve@cat-box.net
Thu, 15 May 2003 10:53:45 -0400


Update of /cvs-repository/Zope3/src/zope/proxy/context/tests
In directory cvs.zope.org:/tmp/cvs-serv13727/src/zope/proxy/context/tests

Modified Files:
      Tag: stevea-decorators-branch
	test_decorator.py 
Log Message:
Fixed expected exception type.


=== Zope3/src/zope/proxy/context/tests/test_decorator.py 1.10 => 1.10.2.1 ===
--- Zope3/src/zope/proxy/context/tests/test_decorator.py:1.10	Tue May 13 07:33:18 2003
+++ Zope3/src/zope/proxy/context/tests/test_decorator.py	Thu May 15 10:53:45 2003
@@ -193,7 +193,7 @@
         c = object()
         f = MixinFactory
         n = ('foo', 'spoo', u's\u2323g', 'someinstanceattr')
-        self.assertRaises(TypeError, self.proxy_class, obj, c, f, n)
+        self.assertRaises(UnicodeError, self.proxy_class, obj, c, f, n)
 
     def test_typeerror_if_no_factory(self):
         w = self.proxy_class(object(), None, None, ('foo',))