[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r19962 - trunk/subversion/bindings/swig/python/tests

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2006-06-07 01:20:45 CEST

On Tue, 06 Jun 2006 18:19:02 +0530, <maxb@tigris.org> wrote:

> Author: maxb
> Date: Tue Jun 6 05:49:01 2006
> New Revision: 19962
>
> Modified:
> trunk/subversion/bindings/swig/python/tests/client.py
> trunk/subversion/bindings/swig/python/tests/ra.py
>
> Log:
> Remove Python-2.4-isms from the Python bindings testsuite -
> use unittest.TestCase.assert_(), not unittest.TestCase.assertTrue().

Would you be also interested in removing the second parameter ('test' -
which is the default value anyways) of calls to unittest.makeSuite in
/subversion/bindings/swig/python/tests?

Currently, they look like:
unittest.makeSuite(SubversionRepositoryTestCase, 'test',
                    suiteClass=SubversionRepositoryTestSetup)

while,
unittest.makeSuite(SubversionRepositoryTestCase,
                    suiteClass=SubversionRepositoryTestSetup)

would suffice.

Regards,
Madan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 6 19:53:09 2006

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.