mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-16 20:33:57 +08:00
Remove test_SET() since it cannot work until
http://bugs.mysql.com/bug.php?id=17758 is fixed (MySQL-5.1 or 5.2).
This commit is contained in:
@ -37,19 +37,6 @@ class test_MySQLdb(test_capabilities.DatabaseTest):
|
|||||||
('col1 TINYINT',),
|
('col1 TINYINT',),
|
||||||
generator)
|
generator)
|
||||||
|
|
||||||
def test_SET(self):
|
|
||||||
things = 'ash birch cedar larch pine'.split()
|
|
||||||
def generator(row, col):
|
|
||||||
from sets import Set
|
|
||||||
s = Set()
|
|
||||||
for i in range(len(things)):
|
|
||||||
if (row >> i) & 1:
|
|
||||||
s.add(things[i])
|
|
||||||
return s
|
|
||||||
self.check_data_integrity(
|
|
||||||
('col1 SET(%s)' % ','.join(["'%s'" % t for t in things]),),
|
|
||||||
generator)
|
|
||||||
|
|
||||||
def test_stored_procedures(self):
|
def test_stored_procedures(self):
|
||||||
db = self.connection
|
db = self.connection
|
||||||
c = self.cursor
|
c = self.cursor
|
||||||
|
Reference in New Issue
Block a user