File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,15 @@ content of the XML has been
141
141
>>> import urllib
142
142
>>> ranges.download('file://' + urllib.pathname2url(xmlfile.name))
143
143
>>> import sys
144
- >>> output = StringIO.StringIO()
145
- >>> save_stdout = sys.stdout
146
- >>> sys.stdout = output
147
144
>>> ranges.output()
148
- >>> sys.stdout = save_stdout
149
- >>> output = output.getvalue()
150
- >>> '\n978 0-5 600-649\n' in output and '\n978-0 00-19 200-699\n' in output
151
- True
145
+ # generated from RangeMessage.xml, downloaded from
146
+ # http://www.isbn-international.org/agency?rmxml=1
147
+ # serial 0aad2b046ddd9b30e080cb2b24afc868
148
+ # date Thu, 20 May 2010 18:36:55 GMT
149
+ _prefixes = """
150
+ 978 0-5 600-649
151
+ 978-0 00-19 200-699
152
+ """
152
153
153
154
Restore the original ranges and clean up.
154
155
You can’t perform that action at this time.
0 commit comments