From 9596595dcf3e52da4be7a3d0f33ed96482b1c254 Mon Sep 17 00:00:00 2001 From: elazar Date: Thu, 12 Apr 2012 07:35:49 -0500 Subject: [PATCH] Fixed test_system_views not checking for MySQL >= 5.0.0 as information_schema support is not available in previous versions --- test/dialect/test_mysql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dialect/test_mysql.py b/test/dialect/test_mysql.py index a5623a3bde..da59e79840 100644 --- a/test/dialect/test_mysql.py +++ b/test/dialect/test_mysql.py @@ -108,8 +108,8 @@ class DialectTest(fixtures.TestBase): } ) - @testing.only_on(['mysql'], - 'requires information_schema') + @testing.only_on(['mysql'], 'requires information_schema') + @testing.exclude('mysql', '<', (5, 0, 0), 'no information_schema support') def test_system_views(self): dialect = testing.db.dialect connection = testing.db.connect() -- 2.47.2