From: elazar Date: Thu, 12 Apr 2012 12:35:49 +0000 (-0500) Subject: Fixed test_system_views not checking for MySQL >= 5.0.0 as information_schema support... X-Git-Tag: rel_0_7_7~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9596595dcf3e52da4be7a3d0f33ed96482b1c254;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fixed test_system_views not checking for MySQL >= 5.0.0 as information_schema support is not available in previous versions --- 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()