cpython icon indicating copy to clipboard operation
cpython copied to clipboard

gh-94808: add tests covering `PySequence_[InPlace_]Repeat`

Open sobolevn opened this issue 3 years ago • 1 comments

Things I've skipped:

  1. NULL checks for PyLong allocation and NULL check for self. Cannot be reproduced from python
  2. Different values and corner cases for sq_repeat and sq_inplace_repeat, I expect them to be covered in * and *= operators

Coverage view before: Снимок экрана 2022-11-07 в 14 56 38

Снимок экрана 2022-11-07 в 14 57 07
  • Issue: gh-94808

sobolevn avatar Nov 07 '22 11:11 sobolevn

Merge conflicts are resolved, @serhiy-storchaka would you mind taking a look? :)

sobolevn avatar Nov 10 '22 08:11 sobolevn