From: aplatkouski <5857672+aplatkouski@users.noreply.github.com> Date: Thu, 11 Jun 2020 20:20:23 +0000 (+0300) Subject: Replace 'overriden' with 'overridden' inside warn X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a12d12b52f72407b9d6a05d1001a05774e50bc30;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Replace 'overriden' with 'overridden' inside warn Signed-off-by: aplatkouski <5857672+aplatkouski@users.noreply.github.com> --- diff --git a/lib/sqlalchemy/sql/functions.py b/lib/sqlalchemy/sql/functions.py index 057a881a9c..6fff26842d 100644 --- a/lib/sqlalchemy/sql/functions.py +++ b/lib/sqlalchemy/sql/functions.py @@ -58,7 +58,7 @@ def register_function(identifier, fn, package="_default"): if identifier in reg: util.warn( "The GenericFunction '{}' is already registered and " - "is going to be overriden.".format(identifier) + "is going to be overridden.".format(identifier) ) reg[identifier] = fn diff --git a/test/sql/test_functions.py b/test/sql/test_functions.py index 4b35553919..8004ef1bfe 100644 --- a/test/sql/test_functions.py +++ b/test/sql/test_functions.py @@ -260,7 +260,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): with expect_warnings( "The GenericFunction 'replaceable_func' is already registered and " - "is going to be overriden.", + "is going to be overridden.", regex=False, ): @@ -283,7 +283,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): with expect_warnings( "The GenericFunction 'replaceable_func' is already registered and " - "is going to be overriden.", + "is going to be overridden.", regex=False, ):