Commit 086f2ea6 authored by Tarek Ziadé's avatar Tarek Ziadé

assertion message was dropped

parent 13156529
......@@ -103,7 +103,7 @@ class Extension:
optional=None,
**kw # To catch unknown keywords
):
assert isinstance(name, str)
assert isinstance(name, str), "'name' must be a string"
assert (isinstance(sources, list) and
all(isinstance(v, str) for v in sources)), \
"'sources' must be a list of strings"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment