Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 4ff4b4f8b540c80e0cfce370bb1f8cee3ca1510b 1 parent d45ed31
Mark Longair authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  bin/boundaries.py
4  bin/boundaries.py
@@ -800,7 +800,7 @@ def to_xml(self, parent_element=None, include_node_dependencies=False):
800 800
 
801 801
         >>> xe = etree.Element('example-with-nodes')
802 802
         >>> w.to_xml(xe, include_node_dependencies=True) #doctest: +ELLIPSIS
803  
-        <Element example-with-nodes at 0x...>
  803
+        <Element example-with-nodes at ...>
804 804
         >>> print etree.tostring(xe, pretty_print=True),
805 805
         <example-with-nodes>
806 806
           <node lat="52" lon="1" id="12"/>
@@ -1126,7 +1126,7 @@ def to_xml(self, parent_element=None, include_node_dependencies=False):
1126 1126
 
1127 1127
         >>> xe = etree.Element('example-with-nodes')
1128 1128
         >>> r.to_xml(xe, include_node_dependencies=True) #doctest: +ELLIPSIS
1129  
-        <Element example-with-nodes at 0x...>
  1129
+        <Element example-with-nodes at ...>
1130 1130
         >>> print etree.tostring(xe, pretty_print=True),
1131 1131
         <example-with-nodes>
1132 1132
           <node lat="52" lon="0.3" id="76542"/>

0 notes on commit 4ff4b4f

Please sign in to comment.
Something went wrong with that request. Please try again.