diff options
author | AN Long <aisk@users.noreply.github.com> | 2023-10-05 17:52:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 17:52:26 (GMT) |
commit | 1f3af03f83fead5cd86d54e1b2f47fc5866e635c (patch) | |
tree | 5c0ea54ef7283de3d08f0bf37143e996a54f01ae /PC/_testconsole.c | |
parent | a13620685f68957c965fca89343a0e91f95f1bab (diff) | |
download | cpython-1f3af03f83fead5cd86d54e1b2f47fc5866e635c.zip cpython-1f3af03f83fead5cd86d54e1b2f47fc5866e635c.tar.gz cpython-1f3af03f83fead5cd86d54e1b2f47fc5866e635c.tar.bz2 |
gh-110147: test_msvcrt: run console I/O tests in new processes (#110268)
Diffstat (limited to 'PC/_testconsole.c')
-rw-r--r-- | PC/_testconsole.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/PC/_testconsole.c b/PC/_testconsole.c index 5e5a771..1dc0d23 100644 --- a/PC/_testconsole.c +++ b/PC/_testconsole.c @@ -133,31 +133,12 @@ _testconsole_read_output_impl(PyObject *module, PyObject *file) Py_RETURN_NONE; } -/*[clinic input] -_testconsole.flush_console_input_buffer - handle: HANDLE - -Flushes the console input buffer. - -All input records currently in the input buffer are discarded. -[clinic start generated code]*/ - -static PyObject * -_testconsole_flush_console_input_buffer_impl(PyObject *module, void *handle) -/*[clinic end generated code: output=1f923a81331465ce input=be8203ae84a288f5]*/ -/*[clinic end generated code:]*/ -{ - FlushConsoleInputBuffer(handle); - - Py_RETURN_NONE; -} #include "clinic\_testconsole.c.h" PyMethodDef testconsole_methods[] = { _TESTCONSOLE_WRITE_INPUT_METHODDEF _TESTCONSOLE_READ_OUTPUT_METHODDEF - _TESTCONSOLE_FLUSH_CONSOLE_INPUT_BUFFER_METHODDEF {NULL, NULL} }; |