On 5/18/07, guido.van.rossum <[email protected]> wrote:
Author: guido.van.rossum
Date: Fri May 18 18:39:10 2007
New Revision: 55434
Modified:
python/branches/p3yk/Lib/test/test_inspect.py
Log:
Fix bug in test_inspect. (I presume this is how it should be fixed;
Jack Diedrich, please verify.)
Modified: python/branches/p3yk/Lib/test/test_inspect.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_inspect.py (original)
+++ python/branches/p3yk/Lib/test/test_inspect.py Fri May 18
18:39:10 2007
@@ -218,7 +218,7 @@
fodderFile = mod2
def test_wrapped_decorator(self):
- self.assertSourceEqual(mod2.wrapped, 16, 17)
+ self.assertSourceEqual(mod2.wrapped, 14, 17)
def test_replacing_decorator(self):
self.assertSourceEqual(mod2.gone, 9, 10)
test_inspect is broken (don't know if it is a different failure or a new
one):
File
"/Users/drifty/Dev/python/3.x/stdlib_cleanup/Lib/test/test_inspect.py", line
140, in assertSourceEqual
self.sourcerange(top, bottom))
AssertionError: 'def wrapped():\n pass\n' != '@wrap()[EMAIL
PROTECTED](wrap)\ndef
wrapped():\n pass\n'
-Brett
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins