]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36234: Add more tests to PosixUidGidTests (GH-12234)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Mar 2019 13:18:40 +0000 (06:18 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2019 13:18:40 +0000 (06:18 -0700)
commit24872e1e15a816fb8e79c2885cafb7d785393547
tree59f0c0a7b50058a175b25958e452b17282753a19
parentea1627008e2ccca3eefa8f4f8123ad74d34c7500
bpo-36234: Add more tests to PosixUidGidTests (GH-12234)

test_posix.PosixUidGidTests:

* Add tests for invalid uid/gid type (str)
* Add UID_OVERFLOW and GID_OVERFLOW constants to replace (1 << 32)

Initial patch written by David Malcolm.

Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
(cherry picked from commit 876e82b4f32075e1bd21750bf852a103035fce23)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_os.py
Misc/NEWS.d/next/Tests/2019-03-08-12-53-37.bpo-36234.NRVK6W.rst [new file with mode: 0644]