From 0097879e6d53bda0b5dc51a62941263d0963c9c3 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 11 Aug 2010 12:01:52 -0400 Subject: [PATCH] spelling arg --- lib/sqlalchemy/orm/mapper.py | 2 +- test/orm/inheritance/test_basic.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index e57331fa50..c3e4b042ed 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -577,7 +577,7 @@ class Mapper(object): if self.with_polymorphic is None \ or self.with_polymorphic[1].corresponding_column(col) \ is None: - util.warn("Could not map polymoprhic_on column " + util.warn("Could not map polymorphic_on column " "'%s' to the mapped table - polymorphic " "loads will not function properly" % col.description) diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index 4c6247fa85..96bb0237b1 100644 --- a/test/orm/inheritance/test_basic.py +++ b/test/orm/inheritance/test_basic.py @@ -98,7 +98,7 @@ class PolymorphicOnNotLocalTest(_base.MappedTest): assert_raises_message( sa_exc.SAWarning, - "Could not map polymoprhic_on column 'x' to the mapped table - " + "Could not map polymorphic_on column 'x' to the mapped table - " "polymorphic loads will not function properly", go ) @@ -122,7 +122,7 @@ class PolymorphicOnNotLocalTest(_base.MappedTest): polymorphic_identity=0) assert_raises_message( sa_exc.SAWarning, - "Could not map polymoprhic_on column 'x' to the mapped table - " + "Could not map polymorphic_on column 'x' to the mapped table - " "polymorphic loads will not function properly", go ) -- 2.47.2