[New-bugs-announce] [issue34382] test_os.test_mode fails when directory base directory has g+s set

Michael Felt report at bugs.python.org
Sat Aug 11 08:31:06 EDT 2018


New submission from Michael Felt <aixtools at felt.demon.nl>:

test_mode assumes that the SGID bit is not set in the parent directory. If it is set the assertEqual() tests fail.

This PR checks the mode of 'base' to see if the SGID bit is set, or not, and compares results accordingly.

Back-porting requested.

----------
components: Tests
messages: 323414
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: test_os.test_mode fails when directory base directory has g+s set
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34382>
_______________________________________


More information about the New-bugs-announce mailing list