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

- 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