feat(typing): allow annotate methods with pos_only
when only have the self
argument
#8575
Annotations
2 errors
tests/test_enum.py#L297
test_generated_dunder_methods_pos_only
AssertionError: assert None is not None
+ where None = <function match at 0x7fb0b5af79c0>('^__or__\\(self: [\\w\\.]+, other: [\\w\\.]+, /\\)', 'Return self|value.')
+ where <function match at 0x7fb0b5af79c0> = re.match
+ and 'Return self|value.' = <method-wrapper '__or__' of pybind11_type object at 0x55ded55515e0>.__doc__
|
|
The logs for this run have expired and are no longer available.
Loading