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

assertTrue vs assert_ in the Python bindings (Review of r20102)

From: David James <djames_at_collab.net>
Date: 2006-06-14 23:26:53 CEST

Hi Jelmer, Garrett:

On 6/14/06, rooneg@tigris.org <rooneg@tigris.org> wrote:
> * subversion/bindings/swig/python/tests/wc.py
> [...]
> + self.assertTrue(wc.is_adm_dir(".svn"))
> [... more examples ...]]

Python 2.2 does not support the 'assertTrue' keyword. For this reason,
we have started using "assert_" instead as of r19962.

Cheers,

David

-- 
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 14 23:27:27 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.