/[thuban]/branches/WIP-pyshapelib-bramz/test/test_save.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/test/test_save.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1168 by jonathan, Thu Jun 12 12:42:50 2003 UTC revision 1173 by jonathan, Thu Jun 12 13:37:18 2003 UTC
# Line 83  class XMLWriterTest(unittest.TestCase): Line 83  class XMLWriterTest(unittest.TestCase):
83    
84          writer.encode("hello world")          writer.encode("hello world")
85          writer.encode(unicode("hello world"))          writer.encode(unicode("hello world"))
86    
87            writer.encode("\x80\x90\xc2\x100")
88            writer.encode(u"\x80\x90\xc2\x100")
89            writer.encode(u"\xFF5E")
90    
91          self.assertEquals(writer.encode('&"\'<>'),          self.assertEquals(writer.encode('&"\'<>'),
92                            "&amp;&quot;&apos;&lt;&gt;")                            "&amp;&quot;&apos;&lt;&gt;")
93          self.assertEquals(writer.encode(unicode('&"\'<>')),          self.assertEquals(writer.encode(unicode('&"\'<>')),

Legend:
Removed from v.1168  
changed lines
  Added in v.1173

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26