[New-bugs-announce] [issue45354] test_winconsoleio fails on Windows 11
Jeremy Kloth
report at bugs.python.org
Sun Oct 3 10:42:28 EDT 2021
New submission from Jeremy Kloth <jeremy.kloth+python-tracker at gmail.com>:
It appears there have been some console related changes in Windows 11
======================================================================
ERROR: test_open_name (test.test_winconsoleio.WindowsConsoleIOTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\Jeremy\source\repos\cpython\lib\test\test_winconsoleio.py", line 95, in test_open_name
f = open('C:/con', 'rb', buffering=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:/con'
======================================================================
FAIL: test_conout_path (test.test_winconsoleio.WindowsConsoleIOTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\Jeremy\source\repos\cpython\lib\test\test_winconsoleio.py", line 118, in test_conout_path
self.assertIsInstance(f, ConIO)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: <_io.FileIO name='C:\\Users\\Jeremy\\AppData\\Local\\Temp\\tmpoqx235b0\\CONOUT$' mode='wb' closefd=True> is not an instance of <class '_io._WindowsConsoleIO'>
----------------------------------------------------------------------
----------
components: Tests, Windows
messages: 403090
nosy: jkloth, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: test_winconsoleio fails on Windows 11
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45354>
_______________________________________
More information about the New-bugs-announce
mailing list