You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For matchers that are rarely/never parametrized (like Integer), the pair of parentheses required for their instantation is kind of a boilerplate. Ideally, we'd want the following two lines to be equivalent:
This is theoretically possible by copying the crucial magic methods (mostly __eq__) from BaseMatcher to BaseMatcherMetaclass (likely through a shared mixin). It would have to be investigated, however, that there are no adverse effects of doing so.
The text was updated successfully, but these errors were encountered:
For matchers that are rarely/never parametrized (like
Integer
), the pair of parentheses required for their instantation is kind of a boilerplate. Ideally, we'd want the following two lines to be equivalent:This is theoretically possible by copying the crucial magic methods (mostly
__eq__
) fromBaseMatcher
toBaseMatcherMetaclass
(likely through a shared mixin). It would have to be investigated, however, that there are no adverse effects of doing so.The text was updated successfully, but these errors were encountered: