]> granicus.if.org Git - python/commitdiff
Merged revisions 55514-55544 via svnmerge from
authorGuido van Rossum <guido@python.org>
Thu, 24 May 2007 02:27:17 +0000 (02:27 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 24 May 2007 02:27:17 +0000 (02:27 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
  r55526 | neal.norwitz | 2007-05-22 23:42:22 -0700 (Tue, 22 May 2007) | 1 line

  reduce was removed a while ago
........
  r55544 | guido.van.rossum | 2007-05-23 19:23:53 -0700 (Wed, 23 May 2007) | 2 lines

  Fix test_inspect.  It seems my previous "fix" was due to a stale .pyc file.
........

Lib/test/test_inspect.py
Misc/NEWS

index 46e008af708beddaca23c1ecb74fa0ad8324705f..6fe14375aaa455478c3609c7345da4586e31e1c6 100644 (file)
@@ -219,7 +219,7 @@ class TestDecorators(GetSourceBase):
     fodderFile = mod2
 
     def test_wrapped_decorator(self):
-        self.assertSourceEqual(mod2.wrapped, 14, 17)
+        self.assertSourceEqual(mod2.wrapped, 16, 17)
 
     def test_replacing_decorator(self):
         self.assertSourceEqual(mod2.gone, 9, 10)
index edaf7114dc1b4556da8ba30c8f813fff6165b814..5fc8c5bce9d875ddfda23b63e45714dccc189275 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -135,7 +135,7 @@ Core and Builtins
   backticks (ie, `x`), <>
 
 - Removed these Python builtins:
-  apply(), callable(), coerce(), file()
+  apply(), callable(), coerce(), file(), reduce()
 
 - Removed these Python methods:
   {}.has_key