[Zope3-checkins] CVS: Zope3/src/zope/hookable - __init__.py:1.2

Jim Fulton jim@zope.com
Tue, 20 May 2003 16:27:47 -0400


Update of /cvs-repository/Zope3/src/zope/hookable
In directory cvs.zope.org:/tmp/cvs-serv30766/src/zope/hookable

Modified Files:
	__init__.py 
Log Message:
Simplified some doctest tests. I didn't realize you could leave out
the traceback info in expected errors.



=== Zope3/src/zope/hookable/__init__.py 1.1 => 1.2 ===
--- Zope3/src/zope/hookable/__init__.py:1.1	Sun May 18 14:03:55 2003
+++ Zope3/src/zope/hookable/__init__.py	Tue May 20 16:27:47 2003
@@ -46,16 +46,12 @@
 
    >>> del f.original
    Traceback (most recent call last):
-     File "/usr/local/python/2.2.2/lib/python2.2/doctest.py", line 430, in _run_examples_inner
-       compileflags, 1) in globs
-     File "<string>", line 1, in ?
+   ...
    TypeError: readonly attribute
 
    >>> del f.implementation
    Traceback (most recent call last):
-     File "/usr/local/python/2.2.2/lib/python2.2/doctest.py", line 430, in _run_examples_inner
-       compileflags, 1) in globs
-     File "<string>", line 1, in ?
+   ...
    TypeError: readonly attribute