diff --git a/avocado/core/safeloader/docstring.py b/avocado/core/safeloader/docstring.py index 66f4e08ef3..3e819c567c 100644 --- a/avocado/core/safeloader/docstring.py +++ b/avocado/core/safeloader/docstring.py @@ -60,7 +60,7 @@ def get_docstring_directives_tags(docstring): if key in result: result[key].add(val) else: - result[key] = set([val]) + result[key] = {val} else: result[tag] = None return result