diff Lib/test/test_code.py @ 40785:22760d53d4da

Fix a bunch of doctests with the -d option of refactor.py. We still have 27 failing tests (down from 39).
author Guido van Rossum <guido@python.org>
date Fri, 09 Feb 2007 20:13:25 +0000
parents 4cdf21a0dbbc
children e9a6234b26af
line wrap: on
line diff
--- a/Lib/test/test_code.py	Fri Feb 09 05:42:38 2007 +0000
+++ b/Lib/test/test_code.py	Fri Feb 09 20:13:25 2007 +0000
@@ -50,9 +50,9 @@
 consts: ('None',)
 
 >>> def attrs(obj):
-...     print obj.attr1
-...     print obj.attr2
-...     print obj.attr3
+...     print(obj.attr1)
+...     print(obj.attr2)
+...     print(obj.attr3)
 
 >>> dump(attrs.func_code)
 name: attrs