summaryrefslogtreecommitdiff
path: root/test/orm
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-02-12 18:00:45 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-02-12 18:00:45 -0500
commit53aab63b6c24dfdcc249ada5c9d712dc42e5ae40 (patch)
tree04d0b282c7b5e2c43b2e46a0d87c242521dc3545 /test/orm
parentde9ec22de972ec66f07db8b745108c6248bec6ad (diff)
downloadsqlalchemy-53aab63b6c24dfdcc249ada5c9d712dc42e5ae40.tar.gz
- remove some remaining sys.modules shenanigansrel_0_7b1
- The "sqlalchemy.exceptions" alias in sys.modules has been removed. Base SQLA exceptions are available via "from sqlalchemy import exc". The "exceptions" alias for "exc" remains in "sqlalchemy" for now, it's just not patched into sys.modules.
Diffstat (limited to 'test/orm')
-rw-r--r--test/orm/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/_base.py b/test/orm/_base.py
index ef1ec33f1..cd75e464f 100644
--- a/test/orm/_base.py
+++ b/test/orm/_base.py
@@ -2,7 +2,7 @@ import inspect
import sys
import types
import sqlalchemy as sa
-import sqlalchemy.exceptions as sa_exc
+from sqlalchemy import exc as sa_exc
from test.lib import config, testing
from test.lib.testing import resolve_artifact_names, adict
from test.lib.engines import drop_all_tables