Skip to content

Fix the raises() decorator to support functions that take arguments - #45

Merged
eteq merged 2 commits into
astropy:masterfrom
embray:fix-raises
Nov 3, 2011
Merged

eteq merged 2 commits into
astropy:masterfrom
embray:fix-raises

Conversation

@embray

@embray embray commented Nov 3, 2011

Copy link
Copy Markdown
Member

Fix the raises() decorator to support functions that take arguments (including methods, parametrized tests, etc).

I encountered this while porting the PyFITS tests which use test classes.

eteq added a commit that referenced this pull request Nov 3, 2011
Fix the raises() decorator to support functions that take arguments
@eteq
eteq merged commit 902c2fc into astropy:master Nov 3, 2011
keflavich pushed a commit to keflavich/astropy that referenced this pull request Oct 9, 2013
Fix the raises() decorator to support functions that take arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants