The Skip plugin for nose offers similar functionality which can be used in Python 2.6: http://somethingaboutorange.com/mrl/projects/nose/0.11.1/plugins/skip.html
Using this you can write decorators that raise SkipTest if a certain criteria isn't met. ________________________________________ From: openstack-bounces+tim.simpson=rackspace....@lists.launchpad.net [openstack-bounces+tim.simpson=rackspace....@lists.launchpad.net] on behalf of Clay Gerrard [clay.gerr...@rackspace.com] Sent: Monday, February 28, 2011 3:09 PM To: Dan Prince; Justin Santa Barbara Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] How to deal with 'tangential' bugs? Unittest2 lets you define a test case that is expected to fail: http://docs.python.org/library/unittest.html#unittest.expectedFailure new in 2.7, but it could be possible to backport - or do something similar... May have issues with nose: http://code.google.com/p/python-nose/issues/detail?id=325 _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp