Skip to content
Snippets Groups Projects
Commit 09fa1f71 authored by Bert Palm's avatar Bert Palm 🎇
Browse files

fixed deprecated todo in fuzzy testing

parent 2863bb55
No related branches found
No related tags found
3 merge requests!271Static expansion of regular expressions,!260Follow-Up Translations,!237Flagger Translations
...@@ -14,11 +14,6 @@ from tests.fuzzy.init import MAX_EXAMPLES, functionKwargs ...@@ -14,11 +14,6 @@ from tests.fuzzy.init import MAX_EXAMPLES, functionKwargs
def callWontBreak(drawer, func_name: str): def callWontBreak(drawer, func_name: str):
func = FUNC_MAP[func_name] func = FUNC_MAP[func_name]
kwargs = drawer.draw(functionKwargs(func)) kwargs = drawer.draw(functionKwargs(func))
# TODO: workaround until `flag` is explicitly exposed in signature
flag = drawer.draw(from_type(float))
kwargs.setdefault('flag', flag)
func(**kwargs) func(**kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment