]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94814: Improve coverage of _PyCode_CreateLineArray (GH-94852)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 15 Jul 2022 17:28:47 +0000 (10:28 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Jul 2022 17:28:47 +0000 (10:28 -0700)
commit8f92ebbde7a841f6557b1d416cbcdba030e4b662
treed7d72cbb7c6f364b5889d23a0382979831257336
parentd9107aa0157a2ff6741b9aa2f78759e90f522bd7
gh-94814: Improve coverage of _PyCode_CreateLineArray (GH-94852)

The case where there are more than (1 << 15) lines was not covered.

I don't know if increasing test coverage requires a blurb -- let me know if it does.

Automerge-Triggered-By: GH:brandtbucher
(cherry picked from commit 582ae86b3f07d806f145b3eb9009efd9fbf2e041)

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Lib/test/test_sys_settrace.py