]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93884: Improve test coverage of `PyNumber_ToBase` (GH-93932)
authorCharlie Zhao <zhaoyu_hit@qq.com>
Sun, 4 Sep 2022 10:37:04 +0000 (18:37 +0800)
committerGitHub <noreply@github.com>
Sun, 4 Sep 2022 10:37:04 +0000 (03:37 -0700)
commit9b9394df5fa808f9a125e3e472e7df4c24aea5a1
tree5d7ad2f7e469d9b027d307a03c57ca88378e4827
parent69bb83c2bf254f92491d527ccec1ff41897add56
gh-93884: Improve test coverage of `PyNumber_ToBase` (GH-93932)

Link to #93884
* Test with some large negative and positive values(out of range of a longlong,i.e.[-2\*\*63, 2\*\*63-1])
* Test with objects of non-int type

Automerge-Triggered-By: GH:mdickinson
Lib/test/test_capi.py
Misc/NEWS.d/next/Tests/2022-06-17-13-27-21.gh-issue-93884.5pvPvl.rst [new file with mode: 0644]