def METHOD_NAME():
    from _pydev_bundle.pydev_console_utils import DebugConsoleStdIn
    class OriginalStdin(object):
        def readline(self):
            return 'read'
    original_stdin = OriginalStdin()
    py_db = _DummyPyDb()
    debug_console_std_in = DebugConsoleStdIn(py_db, original_stdin)
    assert debug_console_std_in.readline() == 'read'
    assert py_db.writer.command_meanings == ['CMD_INPUT_REQUESTED', 'CMD_INPUT_REQUESTED']
    del py_db.writer.command_meanings[:]
    with debug_console_std_in.notify_input_requested():
        with debug_console_std_in.notify_input_requested():
            pass
    assert py_db.writer.command_meanings == ['CMD_INPUT_REQUESTED', 'CMD_INPUT_REQUESTED']