]> granicus.if.org Git - python/commit
bpo-37400: Fix test_os.test_chown() (GH-14374)
authorVictor Stinner <vstinner@redhat.com>
Tue, 25 Jun 2019 15:06:24 +0000 (17:06 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jun 2019 15:06:24 +0000 (17:06 +0200)
commitd7c87d982d4ec4ba201bcee14324ae5e0e90581f
tree5be3f4190e32dc2956e6f40ba8d9e64bff1b5e5a
parent3939c321c90283b49eddde762656e4b1940e7150
bpo-37400: Fix test_os.test_chown() (GH-14374)

Use os.getgroups() rather than grp.getgrall() to get groups.
Rename also the test to test_chown_gid().
Lib/test/test_os.py
Misc/NEWS.d/next/Tests/2019-06-25-16-02-43.bpo-37400.cx_EWv.rst [new file with mode: 0644]