[issue28217] Add interactive console tests

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +931 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28217] Add interactive console tests

2016-10-03 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue28217] Add interactive console tests

2016-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 363888141f41 by Steve Dower in branch '3.6': Issue #28217: Adds _testconsole module to test console input. Fixes some issues found by the tests. https://hg.python.org/cpython/rev/363888141f41 New changeset 3ec6a610e93e by Steve Dower in branch 'def

[issue28217] Add interactive console tests

2016-09-30 Thread Steve Dower
Steve Dower added the comment: Added my work on this so far. I've only done input testing, but that's the more important one anyway in my opinion. Feel free to suggest more edge cases we ought to test and I'll try and get to adding them before b2. -- keywords: +patch Added file: http:

[issue28217] Add interactive console tests

2016-09-28 Thread Steve Dower
Changes by Steve Dower : -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue28217] Add interactive console tests

2016-09-20 Thread Eryk Sun
Changes by Eryk Sun : Added file: http://bugs.python.org/file44765/conout.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue28217] Add interactive console tests

2016-09-20 Thread Eryk Sun
Eryk Sun added the comment: Here's the ctypes code (mentioned on issue 1602) for writing to the input buffer and reading from the screen buffer. For output testing I also have a context manager to create and temporarily activate a new screen buffer with a given number of columns and rows and f

[issue28217] Add interactive console tests

2016-09-20 Thread Steve Dower
New submission from Steve Dower: We can test the interactive console by opening new console buffers (CONIN$ and CONOUT$) in the test process, then creating a subprocess with those set as the standard handles. Now we can use WriteConsoleInput from the test process to simulate the user typing at