[issue40648] File mode is not tested on Windows

2020-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ _

[issue40648] File mode is not tested on Windows

2020-05-16 Thread Pavol Babinčák
Change by Pavol Babinčák : -- keywords: +patch pull_requests: +19435 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20130 ___ Python tracker ___ __

[issue40648] File mode is not tested on Windows

2020-05-16 Thread Pavol Babinčák
New submission from Pavol Babinčák : >From what I can tell only place where file mode is tested is test_mode() >method of class TestFilemode in test_stat.py. Relevant section for Windows >(os.name != 'posix'): with open(TESTFN, 'w'): pass ... os.chmod(TESTFN, 0o700) st_mode, modestr = self