Re: svn commit: r1642813 - in /subversion/trunk/subversion/bindings/swig: include/svn_types.swg python/libsvn_swig_py/swigutil_py.c python/libsvn_swig_py/swigutil_py.h python/svn/core.py python/svn/repos.py python/tests/repository.py svn_repos.i
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 18 Dec 2014 09:50:21 +0000
Branko Čibej wrote:
> On 18.12.2014 03:48, Alexey Neyman wrote:
According to https://docs.python.org/2/library/unittest.html#type-specific-methods
"The assertEqual() method dispatches the equality check for objects of
And under addTypeEqualityFunc it says:
"The list of type-specific methods automatically used by assertEqual() are summarized in the following table. Note that it’s usually not necessary to invoke these methods directly."
So isn't it best just to call assertEqual() in the first place? It sounds like that will delegate to assertListEqual() if available, and work in a simpler older way otherwise.
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.