diff options
Diffstat (limited to 'tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py')
-rw-r--r-- | tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py b/tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py new file mode 100644 index 000000000..d47367ea9 --- /dev/null +++ b/tests/plugins/loading/plugins/setupreturnsnottype/setupreturnsnottype.py @@ -0,0 +1,8 @@ +# A plugin's setup symbol is supposed to be a function +# which returns the plugin type. +# +# This plugin's setup function returns a number instead + + +def setup(): + return 5 |