[TIP] About assertMultilineEqual
Jorge Vargas
jorge.vargas at gmail.com
Mon Aug 16 08:03:44 PDT 2010
On Sun, Aug 15, 2010 at 8:42 PM, Alfredo Deza <alfredodeza at gmail.com> wrote:
> Hi,
> Is there anything like assertMultilineEqual for older versions of Python
> (e.g. not 2.7)?
> I think nose and pytest may have already solved that, but is there an easy
> way that doesn't require added dependencies?
Well http://pypi.python.org/pypi/unittest2 is a backport of the 2.7
unittest you could steal the implementation from the package and put
it in yours if you can't handle the extra dependency. :)
More information about the testing-in-python
mailing list