-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,12 @@ | |
|
||
|
||
class UnicodeTestCase(HelperTestCase): | ||
def test__str(self): | ||
# test the testing framework, namely _str from common_imports | ||
self.assertEqual(_str('\x10'), _str('\u0010')) | ||
self.assertEqual(_str('\x10'), _str('\U00000010')) | ||
self.assertEqual(_str('\u1234'), _str('\U00001234')) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
opottone
Author
Owner
|
||
|
||
def test_unicode_xml(self): | ||
tree = etree.XML('<p>%s</p>' % uni) | ||
self.assertEqual(uni, tree.text) | ||
|
what does
_str('\\u1234')
give with this change?