[3.7] bpo-36234: Add more tests to PosixUidGidTests (GH-12234) by miss-islington · Pull Request #12274 · python/cpython

@vstinner @miss-islington

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 876e82b)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

vstinner