Skip to content

Commit

Permalink
Merge pull request #96 from elyezer/fix-docstring-parser
Browse files Browse the repository at this point in the history
Improve TestFunction._parse_docstring
  • Loading branch information
sthirugn committed May 27, 2016
2 parents 01a91d8 + 8f120e5 commit adf46b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testimony/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def _parse_tags(self, docstring):
['@unexpected_tag1: value', '@unexpected_tag2: value2']
)
"""
if docstring is None:
return {}, {}, []
valid_tags = [
'assert',
'bz',
Expand Down

0 comments on commit adf46b1

Please sign in to comment.