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

Re: Proposal: Use decorators in test suite for XFail, Skip, etc

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 8 Feb 2011 03:31:31 +0200

Benjamin Peterson wrote on Sat, Feb 05, 2011 at 03:22:06 +0000:
> Hyrum K Wright <hyrum <at> hyrumwright.org> writes:
> > + if type(issues) == type(0):
>
> You should use isinstance(issues, int). Or even better see below.

Thanks for your input; I'll remember it for next time.
Received on 2011-02-08 02:36:22 CET

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.