Author: victorng
Date: 2005-10-12 04:05:08 +0000 (Wed, 12 Oct 2005)
New Revision: 1105
Modified:
SQLObject/branches/victorng/sqlobject/tests/test_unicode.py
Log:
- reverted the unicode test case to demonstrate the problem with the 0xf0 to
UTF8 bug
Modified: SQLObject/branches/victorng/sqlobject/tests/test_unicode.py
===================================================================
--- SQLObject/branches/victorng/sqlobject/tests/test_unicode.py 2005-10-11 21:15:07 UTC (rev 1104)
+++ SQLObject/branches/victorng/sqlobject/tests/test_unicode.py 2005-10-12 04:05:08 UTC (rev 1105)
@@ -19,12 +19,8 @@
def test_create():
setupClass(Unicode1)
- # This data is fucked. Default encoding of UnicodeCol is UTF8 and 0xf0 is
- # not a valid character. --VictorNg
- #data = [u'\u00f0', u'test', 'ascii test']
+ data = [u'\u00f0', u'test', 'ascii test']
- data = [u'\x1e', u'test', 'ascii test']
-
items = []
for i, n in enumerate(data):
items.append(Unicode1(count=i, col1=n, col2=n))
|