summaryrefslogtreecommitdiff
path: root/test/dialect/test_mysql.py
diff options
context:
space:
mode:
authorelazar <tobias382@gmail.com>2012-04-12 07:35:49 -0500
committerelazar <tobias382@gmail.com>2012-04-12 07:35:49 -0500
commit9596595dcf3e52da4be7a3d0f33ed96482b1c254 (patch)
tree4675a25250f46f0df6e5278154ddb08cec420f71 /test/dialect/test_mysql.py
parent01087224ce2198fadcb56227b4764901941472c0 (diff)
downloadsqlalchemy-9596595dcf3e52da4be7a3d0f33ed96482b1c254.tar.gz
Fixed test_system_views not checking for MySQL >= 5.0.0 as information_schema support is not available in previous versions
Diffstat (limited to 'test/dialect/test_mysql.py')
-rw-r--r--test/dialect/test_mysql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dialect/test_mysql.py b/test/dialect/test_mysql.py
index a5623a3bd..da59e7984 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()