Wed Nov 22 09:18:08 2006

Ticket #107 (Closed: fixed)

Expose the guts of @raises as assert_raises


Priority: normal Reporter: jpellerin
Severity: enhancement Assigned to: jpellerin
Component: nose Status: closed
Version:   Resolution: fixed
Milestone: 0.9.2 Keywords:  

Description by jpellerin:

@raises is useful for some users, but others want to be able to stack up several raises tests inside of one test case, so it would be helpful to have an assert_raises that they can call directly.

Changelog

Wed Nov 22 09:18:15 2006: Modified by jpellerin

  • status changed from new to assigned

Tue Dec 5 15:42:10 2006: Modified by jpellerin

  • resolution set to fixed
  • status changed from assigned to closed

All TestCase.assert* methods are now expose in nose.tools, with PEP8-ized names.