nose-devs/nose — pull request #838 by adgaudio (2014-08-31 22:46:45+00:00)
Title: modify with_setup such that decorated funcs and the teardown can receive arbitrary args and kwargs

Hello,

I created this PR and would love to know if you're interested in merging it. Here's what I've done:

- Calling ```nose.tools.with_setup(..., params=True)``` allows the setup() function to return args and kwargs. The decorated test and teardown functions can use some or all of those args and kwargs as they choose.
- Includes tests and documentation.
- This PR is adapted from this gist: https://gist.github.com/garyvdm/392ae20c673c7ee58d76