diff --git a/amaranth-stubs b/amaranth-stubs index e8efebb9d..480a38672 160000 --- a/amaranth-stubs +++ b/amaranth-stubs @@ -1 +1 @@ -Subproject commit e8efebb9dfc8f89a93b92b290eb9f9b11899ed0d +Subproject commit 480a38672c6e84f4827a458e50e06d69f5588713 diff --git a/transactron/testing/method_mock.py b/transactron/testing/method_mock.py index 78f758934..ab6c53120 100644 --- a/transactron/testing/method_mock.py +++ b/transactron/testing/method_mock.py @@ -112,7 +112,7 @@ def def_method_mock( which correspond to named arguments of the method. This decorator can be applied to function definitions or method definitions. - When applied to a method definition, lambdas passed to `async_def_method_mock` + When applied to a method definition, lambdas passed to `def_method_mock` need to take a `self` argument, which should be the first. Any side effects (state modification, assertions, etc.) need to be guarded