diff --git a/tests/test_try_me.py b/tests/test_try_me.py index a98000f1cd9bcb4ea3371d9a710636345d3b72d9..098798ff9ceee253ce56d9ee9fd7fc5d20acb365 100644 --- a/tests/test_try_me.py +++ b/tests/test_try_me.py @@ -29,7 +29,7 @@ def test_try_me(module): def no_show(*args, **kwargs): pass - plt.show = no_show # disable plt show that requires the use to close the plot + plt.show = no_show # disable plt show that requires the user to close the plot with mock.patch.object(module, "__name__", "__main__"): getattr(module, 'try_me')()