]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39689: Do not test undefined casts to _Bool (GH-18964) (#18965)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Mar 2020 18:55:36 +0000 (11:55 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2020 18:55:36 +0000 (19:55 +0100)
commit636eecbbbbc16229432ec8e26e6da287c52f3ca3
tree7de24a64a3ffec46e6ade5720cc2a0618a2a887d
parentfeaf0c37891dfe8f0f3e643c3711af3af23bf805
bpo-39689: Do not test undefined casts to _Bool (GH-18964) (#18965)

- When casting to _Bool, arrays should only contain zeros or ones.
(cherry picked from commit 1ae9cde4b2323235b5f9ff4bc76e4175a2257172)

Co-authored-by: Stefan Krah <skrah@bytereef.org>
Lib/test/test_buffer.py