Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jlward
Copy link
Contributor

@jlward jlward commented Jul 19, 2013

No description provided.

@ghost ghost assigned jlward Jul 19, 2013
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use raises for this. eg.

@raises(MalformedDocxException)
def test_malformed_docx_exception():
    ...

@winhamwr
Copy link
Contributor

After a bit of documentation and maybe that test refactor, this looks good.

jlward added a commit that referenced this pull request Jul 19, 2013
If BadZipFile is raised we should catch it and raise a different exception instead
@jlward jlward merged commit bae0a98 into master Jul 19, 2013
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward added a commit that referenced this pull request Mar 14, 2014
If BadZipFile is raised we should catch it and raise a different exception instead
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward added a commit that referenced this pull request Mar 14, 2014
If BadZipFile is raised we should catch it and raise a different exception instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants