Skip to content

Commit

Permalink
Fix doctest to handle 2.6 str(Element) variation
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmatthews committed Feb 3, 2017
1 parent 1b4c4af commit df3d814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COT/data_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def to_string(obj):
'27.5'
>>> e = ET.Element('hello', attrib={'key': 'value'})
>>> print(e) # doctest: +ELLIPSIS
<Element 'hello' at 0x...>
<Element ...hello... at ...>
>>> print(to_string(e))
<hello key="value" />
"""
Expand Down

0 comments on commit df3d814

Please sign in to comment.