Commits

Éric Lemoine  committed 258f85e

PostGIS tests - geoalchemy.exceptions is now geoalchemy.exc

  • Participants
  • Parent commits 7b22fd1

Comments (0)

Files changed (1)

File geoalchemy/tests/test_postgis.py

 from sqlalchemy.orm import sessionmaker, mapper
 from sqlalchemy.ext.declarative import declarative_base
 from sqlalchemy import and_
-from sqlalchemy.exceptions import IntegrityError
+from sqlalchemy.exc import IntegrityError
 
 from geoalchemy import (Geometry, GeometryCollection, GeometryColumn,
         GeometryDDL, WKTSpatialElement, DBSpatialElement, GeometryExtensionColumn)