[Python-3000-checkins] r55434 - python/branches/p3yk/Lib/test/test_inspect.py

Brett Cannon brett at python.org
Sun May 20 09:25:19 CEST 2007


On 5/18/07, guido.van.rossum <python-3000-checkins at python.org> 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()\n at wrap(wrap)\ndef
wrapped():\n    pass\n'


-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000-checkins/attachments/20070520/b595fbb9/attachment.html 


More information about the Python-3000-checkins mailing list