diff --git a/tests/test_register_function.py b/tests/test_register_function.py index c99477e6f..06f485768 100644 --- a/tests/test_register_function.py +++ b/tests/test_register_function.py @@ -55,14 +55,14 @@ def one(): # This will fail to replace the function: @fresh_db.register_function() - def one(): # noqa: F811 + def one(): # noqa return "two" assert "one" == fresh_db.execute("select one()").fetchone()[0] # This will replace it @fresh_db.register_function(replace=True) - def one(): # noqa: F811 + def one(): # noqa return "two" assert "two" == fresh_db.execute("select one()").fetchone()[0]