summaryrefslogtreecommitdiff
path: root/alot/settings
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2017-01-18 09:57:35 +0000
committerGitHub <noreply@github.com>2017-01-18 09:57:35 +0000
commit70cae61d4fa80e2090169f8cb83e69081a04f890 (patch)
tree781bc1f7f12676fd1dc155512357e8a325e836a7 /alot/settings
parent370988cb63afbc81b661ffcd733b9951b2f6b677 (diff)
parentaba3e5c26b409008ed3dcf585770b8e41e34a8bf (diff)
Merge pull request #975 from lucc/tests/doctests
Porting old doctests to unittest
Diffstat (limited to 'alot/settings')
-rw-r--r--alot/settings/checks.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/alot/settings/checks.py b/alot/settings/checks.py
index bef91a77..6f909524 100644
--- a/alot/settings/checks.py
+++ b/alot/settings/checks.py
@@ -121,11 +121,6 @@ def force_list(value, min=None, max=None):
The difference to :func:`validate.force_list` is that this test
will return an empty list instead of `['']` if the config value
matches `r'\s*,?\s*'`.
-
- >>> vtor.check('force_list', 'hello')
- ['hello']
- >>> vtor.check('force_list', '')
- []
"""
if not isinstance(value, (list, tuple)):
value = [value]