Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Nov 12, 2021
1 parent 2fd70f1 commit f8b1f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_magicgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ def some_func2(x: int, y: str) -> str:
assert isinstance(wdg.y, widgets.LineEdit)
assert not hasattr(wdg, "x")
assert wdg("sdf") == "sdf1"
assert wdg._callable_name == "some_func"
assert wdg._callable_name == "some_func2"

wdg2 = magicgui(some_func2(y="sdf"))
assert len(wdg2) == 3 # keyword arguments don't change the partial signature
Expand Down

0 comments on commit f8b1f42

Please sign in to comment.