diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-09 16:34:10 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-09 16:34:10 +0000 |
commit | 4a6afd469fad170868554bf28578849bf3dfd5dd (patch) | |
tree | b396edc33d567ae19dd244e87137296450467725 /test/dialect/mysql.py | |
parent | 46b7c9dc57a38d5b9e44a4723dad2ad8ec57baca (diff) | |
download | sqlalchemy-4a6afd469fad170868554bf28578849bf3dfd5dd.tar.gz |
r4695 merged to trunk; trunk now becomes 0.5.
0.4 development continues at /sqlalchemy/branches/rel_0_4
Diffstat (limited to 'test/dialect/mysql.py')
-rw-r--r-- | test/dialect/mysql.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dialect/mysql.py b/test/dialect/mysql.py index 00478908e..923658b01 100644 --- a/test/dialect/mysql.py +++ b/test/dialect/mysql.py @@ -1,7 +1,7 @@ import testenv; testenv.configure_for_tests() import sets from sqlalchemy import * -from sqlalchemy import sql, exceptions +from sqlalchemy import sql, exc from sqlalchemy.databases import mysql from testlib import * @@ -537,13 +537,13 @@ class TypesTest(TestBase, AssertsExecutionResults): try: enum_table.insert().execute(e1=None, e2=None, e3=None, e4=None) self.assert_(False) - except exceptions.SQLError: + except exc.SQLError: self.assert_(True) try: enum_table.insert().execute(e1='c', e2='c', e3='c', e4='c') self.assert_(False) - except exceptions.InvalidRequestError: + except exc.InvalidRequestError: self.assert_(True) enum_table.insert().execute() |