[Checkins] SVN: zope.proxy/trunk/src/zope/proxy/tests/test_proxy.py typo
Godefroid Chapelle
gotcha at bubblenet.be
Wed Jul 7 05:19:14 EDT 2010
Log message for revision 114282:
typo
Changed:
U zope.proxy/trunk/src/zope/proxy/tests/test_proxy.py
-=-
Modified: zope.proxy/trunk/src/zope/proxy/tests/test_proxy.py
===================================================================
--- zope.proxy/trunk/src/zope/proxy/tests/test_proxy.py 2010-07-07 08:45:53 UTC (rev 114281)
+++ zope.proxy/trunk/src/zope/proxy/tests/test_proxy.py 2010-07-07 09:19:14 UTC (rev 114282)
@@ -507,7 +507,7 @@
1
>>> int(queryProxy(p2, ProxyBase) is p2)
1
-
+
"""
def test_queryInnerProxy():
@@ -544,7 +544,7 @@
1
>>> int(queryInnerProxy(p3, P2) is p2)
1
-
+
"""
def test_sameProxiedObjects():
@@ -599,7 +599,7 @@
>>> p = MyProxy(l)
I can use attributes defined by the class, including slots:
-
+
>>> p.x = 'x'
>>> p.x
'x'
@@ -607,14 +607,14 @@
'x'
I can also use attributes of the proxied object:
-
+
>>> p
[1, 2, 3]
>>> p.pop()
3
>>> p
[1, 2]
-
+
"""
def test_get_descriptors_in_proxy_class():
@@ -646,7 +646,7 @@
>>> p.z = 1
>>> o.z, p.z
(1, 1)
-
+
"""
def test_non_overridable():
@@ -659,7 +659,7 @@
defined in proxy classes take precedence over functions defined
in proxied objects.
-
+
>>> class MyProxy(ProxyBase):
... __slots__ = ()
...
@@ -675,7 +675,7 @@
>>> p = MyProxy(o)
>>> p.foo()
'MyProxy foo'
-
+
"""
def test_setProxiedObject():
@@ -709,7 +709,7 @@
... except TypeError:
... print "TypeError raised"
... else:
- ... print "Excpected TypeError not raised"
+ ... print "Expected TypeError not raised"
TypeError raised
"""
More information about the checkins
mailing list