Commit 658199cc authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

testsuite: Fix fragile_for test modifier

parent 5ac39ec6
......@@ -257,14 +257,14 @@ def fragile( bug ):
return helper
def fragile_for( name, opts, bug, ways ):
def fragile_for( bug, ways ):
"""
Indicates that the test should be skipped due to fragility in the given
test ways as documented in the given ticket.
"""
def helper( name, opts, bug=bug, ways=ways ):
record_broken(name, opts, bug)
opts.omit_ways = ways
opts.omit_ways += ways
return helper
......@@ -274,7 +274,7 @@ def omit_ways( ways ):
return lambda name, opts, w=ways: _omit_ways( name, opts, w )
def _omit_ways( name, opts, ways ):
opts.omit_ways = ways
opts.omit_ways += ways
# -----
......
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