]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36234: Add more tests to PosixUidGidTests (GH-12234)
authorVictor Stinner <vstinner@redhat.com>
Mon, 11 Mar 2019 12:57:53 +0000 (13:57 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2019 12:57:53 +0000 (13:57 +0100)
commit876e82b4f32075e1bd21750bf852a103035fce23
tree7619eb0c7c15f08941d4d8627e385a383433c054
parentcc353a0cd95d9b0c93ed0b60ba762427a94c790d
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>
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]