summaryrefslogtreecommitdiff
path: root/cherrypy
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-11-16 12:27:15 +0100
committerGitHub <noreply@github.com>2020-11-16 12:27:15 +0100
commit9e79a1f8d2af0955ffdcce870ddc88ef12d47a55 (patch)
tree46d2e526a2a2d5959a6a084affa0c38201cf5c52 /cherrypy
parent6f5fceeac729f0034596641416c76a3a8d06fa4f (diff)
downloadcherrypy-git-9e79a1f8d2af0955ffdcce870ddc88ef12d47a55.tar.gz
def example(): # noqa: F811
Diffstat (limited to 'cherrypy')
-rw-r--r--cherrypy/test/test_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/test_tools.py b/cherrypy/test/test_tools.py
index be8a4798..40de2e52 100644
--- a/cherrypy/test/test_tools.py
+++ b/cherrypy/test/test_tools.py
@@ -436,7 +436,7 @@ class ToolTests(helper.CPWebCase):
@cherrypy.tools.register( # noqa: F811
'before_finalize', name='renamed', priority=60,
)
- def example():
+ def example(): # noqa: F811
pass
self.assertTrue(isinstance(cherrypy.tools.renamed, cherrypy.Tool))
self.assertEqual(cherrypy.tools.renamed._point, 'before_finalize')