Meador Inge <mead...@gmail.com> added the comment:

On Sun, Dec 11, 2011 at 4:42 AM, Nick Coghlan <rep...@bugs.python.org> wrote:

> Explicitly spelling out __qualname__ like that makes the tests a bit too 
> sensitive to otherwise irrelevant details of the test layout.
>
> I suggest using comparisons like "self.assertEqual(wrapper.__qualname__, 
> f.__qualname__)" and "self.assertNotEqual(wrapper.__qualname__,
> f.__qualname__)" to make sure they're the same or different as appropriate, 
> without caring about their precise value (this is similar to what the tests
> already do for "dict_attr")

Good point.  I will commit Filip's latest patch that has these fixes.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to