Improve assert_raises smarter argument handling

Bug #604647 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
Fix Released
Medium
Eike

Bug Description

Change signature to:
{{{
assert_raises(exc_type, errno, func, *args, **kwargs)
 assert_raises(exc_type, errno, func, *args, **kwargs)
}}}

This is much more elegant if the tested function gets keyword arguments. py.test does the same with its respective function.

Eike (eike-welk)
Changed in freeode:
assignee: nobody → Eike (eike-welk)
importance: Undecided → Low
status: New → Confirmed
milestone: none → 0.4.1
Eike (eike-welk)
Changed in freeode:
status: Confirmed → Fix Committed
Eike (eike-welk)
Changed in freeode:
importance: Low → Medium
status: Fix Committed → Fix Released
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.