summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_winconsoleio.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-124008: Fix calculation of the number of written bytes for the Windows ↵Serhiy Storchaka2024-11-271-0/+23
| | | | | | | | | | | | console (GH-124059) Since MultiByteToWideChar()/WideCharToMultiByte() is not reversible if the data contains invalid UTF-8 sequences, use binary search to calculate the number of written bytes from the number of written characters. Also fix writing incomplete UTF-8 sequences. Also fix handling of memory allocation failures.
* gh-115538: Emit warning when use bool as fd in _io.WindowsConsoleIO (GH-116925)AN Long2024-03-181-0/+6
|
* gh-114561: Mark some tests in ``test_wincosoleio`` with ↵Kirill Podoprigora2024-01-251-1/+4
| | | | `requires_resource('console')` decorator (GH-114565)
* gh-66060: Use actual class name in _io type's __repr__ (#30824)AN Long2024-01-091-0/+10
| | | | | | Use the object's actual class name in the following _io type's __repr__: - FileIO - TextIOWrapper - _WindowsConsoleIO
* bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712)Jeremy Kloth2021-10-051-4/+7
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21764)Hai Shi2020-08-071-2/+2
|
* bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448)Victor Stinner2020-02-101-0/+6
| | | Skip tests on non-BMP characters of test_winconsoleio.
* bpo-37421: test_winconsoleio doesn't leak temp file anymore (GH-14562)Victor Stinner2019-07-031-4/+2
| | | | test_winconsoleio doesn't leak a temporary file anymore: use tempfile.TemporaryFile() to remove it when the test completes.
* bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754)Serhiy Storchaka2018-02-241-0/+4
|
* Issue #28164: Improves test on Windows 7Steve Dower2017-02-061-16/+22
|
* Updates test_winconsoleio to better show the source of its issues.Steve Dower2017-02-051-15/+27
|
* Issue #28164: Correctly handle special console filenames (patch by Eryk Sun)Steve Dower2017-02-041-1/+27
|
* Issue #28162: Fixes Ctrl+Z handling in console readall()Steve Dower2016-10-081-16/+22
|
* Issue #28217: Adds _testconsole module to test console input. Fixes some ↵Steve Dower2016-10-031-8/+62
| | | | issues found by the tests.
* More lenient skipping of console tests.Steve Dower2016-09-081-3/+15
|
* Skips console open_fd tests when we don't have real consoles.Steve Dower2016-09-081-18/+21
|
* Issue #1602: Windows console doesn't input or print Unicode (PEP 528)Steve Dower2016-08-311-0/+72
Closes #17602: Adds a readline implementation for the Windows console