summaryrefslogtreecommitdiff
path: root/django/db/models/sql/datastructures.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-20 18:50:06 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-20 18:50:06 +0000
commite94d29350446df6a87e0fd2b867a47e06295ae98 (patch)
tree31c10fb271b6fd7f1e71e61d9e04fcfdf59a0ab2 /django/db/models/sql/datastructures.py
parent5608dfabc3572ddc4050321472b34524223f492d (diff)
There are some variations in the printed names of exceptions between Oracle and
other database backends, but the exception classes should still be the same. This commit changes the way the tests check for specific database errors to be more portable between implementations. It's possible these tests will still fail if, e.g., Oracle doesn't raise IntegrityError (but raises DatabaseError) when we except it to, but we can cross that bridge if and when it appears. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/sql/datastructures.py')
0 files changed, 0 insertions, 0 deletions