New submission from Jeremy Kloth <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue45354>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com