selene
selene copied to clipboard
Fix PyCharm 'Property each of selene.core.condition.Condition' type resolution for collections
example:
ss('').should(have.text('').each)
hint: PyCharm 2023.3.4 (Professional Edition)
Expected type 'Condition[Collection]' (matched generic type 'Condition[E]'), got 'Condition[Iterable[Element]]' instead
PyCharm 2024.1.3 (Professional Edition)
Expected type 'Condition[Collection]' (matched generic type 'Condition[E ≤: Assertable]'), got 'Condition[Iterable[Element]]' instead
No differences between PRO & CE, same error.
tested on rc8 and rc9