Commit bd88ccbd authored by sylvain.thenault@logilab.fr's avatar sylvain.thenault@logilab.fr
Browse files

tell on which class the assertion's failed

--HG--
branch : tls-sprint
parent eb846103be71
......@@ -384,7 +384,7 @@ class match_search_state(Selector):
object to create a relation with another)
"""
def __init__(self, *expected):
assert expected
assert expected, self
self.expected = frozenset(expected)
@lltrace
......
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