diff --git a/tests/test_env.py b/tests/test_env.py index d33c7a5..e43afec 100644 --- a/tests/test_env.py +++ b/tests/test_env.py @@ -135,7 +135,9 @@ class EnvTests(unittest.TestCase): env1 = env.Renderer.environment(config) with unittest.mock.patch.object( - env.plugins, "iter_templates", return_value=[("myplugin", plugin_templates)] + env.plugins, + "iter_templates", + return_value=[("myplugin", plugin_templates)], ): # Load env a second time config["PLUGINS"].append("myplugin")