Commit 374f505c authored by Martín Ferrari's avatar Martín Ferrari

fun with precedence

parent feef451e
......@@ -73,6 +73,6 @@ def _bannerwrap(f, text):
def skip(text):
return lambda f: _bannerwrap(f, text)
def skipUnless(cond, text):
return lambda f: _bannerwrap(f, text) if not cond else lambda f: f
return (lambda f: _bannerwrap(f, text)) if not cond else lambda f: f
def skipIf(cond, text):
return lambda f: _bannerwrap(f, text) if cond else lambda f: f
return (lambda f: _bannerwrap(f, text)) if cond else lambda f: f
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