From: Mike Bayer Date: Wed, 11 Aug 2010 16:01:52 +0000 (-0400) Subject: spelling arg X-Git-Tag: rel_0_6_4~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0097879e6d53bda0b5dc51a62941263d0963c9c3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git spelling arg --- 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 )