Closed
Description
When test_os is run as an administrator, like running tests in a SSH shell for example, the test fails:
FAIL: test_stat_inaccessible_file (test.test_os.Win32NtTests.test_stat_inaccessible_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\victor\python\main\Lib\test\test_os.py", line 3134, in test_stat_inaccessible_file
self.assertEqual(0, stat2.st_dev)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
AssertionError: 0 != 10298252993199238233
The test was added recently by commit ed06648 of issue gh-111877.