[issue46388] Improve test coverage of functools.total_ordering

2022-01-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46388] Improve test coverage of functools.total_ordering

2022-01-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 0a28118324f64851b684ec3afdd063c47513a236 by Russel Webber in branch 'main': bpo-46388: Test NotImplemented code path for functools.total_ordering (GH-30616) https://github.com/python/cpython/commit/0a28118324f64851b684ec3afdd063c47513a236 -

[issue46388] Improve test coverage of functools.total_ordering

2022-01-15 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue46388] Improve test coverage of functools.total_ordering

2022-01-15 Thread Russel Webber
Change by Russel Webber : -- keywords: +patch pull_requests: +28819 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30616 ___ Python tracker ___ __

[issue46388] Improve test coverage of functools.total_ordering

2022-01-15 Thread Russel Webber
New submission from Russel Webber : A few lines of the functools.total_ordering implementation are not covered by the tests. Specifically, coverage.py shows the returns of NotImplemented: ... if op_result is NotImplemented: return op_result ... as not covered in the functions: _g