mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
parent
f0f9679d5c
commit
bc35bebb45
10 changed files with 24 additions and 50 deletions
|
@ -178,6 +178,8 @@ class TextFactoryTests(unittest.TestCase):
|
|||
self.assertTrue(row[0].endswith("reich"), "column must contain original data")
|
||||
|
||||
def CheckOptimizedUnicode(self):
|
||||
# In py3k, str objects are always returned when text_factory
|
||||
# is OptimizedUnicode
|
||||
self.con.text_factory = sqlite.OptimizedUnicode
|
||||
austria = "Österreich"
|
||||
germany = "Deutchland"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue