diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-09 02:01:16 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-25 20:59:08 -0500 |
commit | 2eb3f211dae1188a6c1b3664f612f4628fd7b9a9 (patch) | |
tree | 71d3df245ef979145ac3eabfeae1afe9cee68c05 /test/ext/declarative/test_basic.py | |
parent | f0b344ee9db22085ede906f1041cd6680e2682e3 (diff) | |
download | sqlalchemy-2eb3f211dae1188a6c1b3664f612f4628fd7b9a9.tar.gz |
Improve error messages in the area of loader options
Improved error messages emitted by the ORM in the area of loader option
traversal. This includes early detection of mis-matched loader strategies
along with a clearer explanation why these strategies don't match.
Fixes: #4433
Change-Id: I3351b64241f7f62ca141a0be95085e6ef8ca6d32
Diffstat (limited to 'test/ext/declarative/test_basic.py')
-rw-r--r-- | test/ext/declarative/test_basic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ext/declarative/test_basic.py b/test/ext/declarative/test_basic.py index 4406925ff..8b60a1176 100644 --- a/test/ext/declarative/test_basic.py +++ b/test/ext/declarative/test_basic.py @@ -982,7 +982,7 @@ class DeclarativeTest(DeclarativeTestBase): sa.exc.InvalidRequestError, "^One or more mappers failed to initialize" " - can't proceed with initialization of other mappers. " - r"Triggering mapper: 'Mapper\|User\|users'. " + r"Triggering mapper: 'mapped class User->users'. " "Original exception was: When initializing.*", configure_mappers, ) |