From 31af680d14d4afe0d8b1409380b84ec2f8e619b0 Mon Sep 17 00:00:00 2001 From: adustman Date: Sat, 10 Feb 2007 04:06:10 +0000 Subject: [PATCH] Remove test_SET() since it cannot work until http://bugs.mysql.com/bug.php?id=17758 is fixed (MySQL-5.1 or 5.2). --- MySQLdb/test_MySQLdb_capabilities.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/MySQLdb/test_MySQLdb_capabilities.py b/MySQLdb/test_MySQLdb_capabilities.py index a15c8d7..5f6321d 100644 --- a/MySQLdb/test_MySQLdb_capabilities.py +++ b/MySQLdb/test_MySQLdb_capabilities.py @@ -36,19 +36,6 @@ class test_MySQLdb(test_capabilities.DatabaseTest): self.check_data_integrity( ('col1 TINYINT',), 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): db = self.connection