diff options
Diffstat (limited to 'test/orm/test_mapper.py')
-rw-r--r-- | test/orm/test_mapper.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/orm/test_mapper.py b/test/orm/test_mapper.py index bc5f24fb2..78a149cf0 100644 --- a/test/orm/test_mapper.py +++ b/test/orm/test_mapper.py @@ -153,10 +153,10 @@ class MapperTest(_fixtures.FixtureTest, AssertsCompiledSQL): for i in range(3): assert_raises_message(sa.exc.InvalidRequestError, - "^One or more mappers failed to " - "initialize - can't proceed with " - "initialization of other mappers. " - "Original exception was: Class " + "^One (Mapper|Address|addresses) or more " + "mappers failed to initialize - can't " + "proceed with initialization of other " + "mappers. Original exception was: Class " "'test.orm._fixtures.User' is not mapped$", configure_mappers) |