Permalink
Browse files

doctests: any ID is fine, it doesn't have to be hexadecimal

  • Loading branch information...
mhl committed Nov 8, 2012
1 parent d45ed31 commit 4ff4b4f8b540c80e0cfce370bb1f8cee3ca1510b
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/boundaries.py
View
@@ -800,7 +800,7 @@ def to_xml(self, parent_element=None, include_node_dependencies=False):
>>> xe = etree.Element('example-with-nodes')
>>> w.to_xml(xe, include_node_dependencies=True) #doctest: +ELLIPSIS
- <Element example-with-nodes at 0x...>
+ <Element example-with-nodes at ...>
>>> print etree.tostring(xe, pretty_print=True),
<example-with-nodes>
<node lat="52" lon="1" id="12"/>
@@ -1126,7 +1126,7 @@ def to_xml(self, parent_element=None, include_node_dependencies=False):
>>> xe = etree.Element('example-with-nodes')
>>> r.to_xml(xe, include_node_dependencies=True) #doctest: +ELLIPSIS
- <Element example-with-nodes at 0x...>
+ <Element example-with-nodes at ...>
>>> print etree.tostring(xe, pretty_print=True),
<example-with-nodes>
<node lat="52" lon="0.3" id="76542"/>

0 comments on commit 4ff4b4f

Please sign in to comment.