Éric Araujo <mer...@netwok.org> added the comment: > I'm not sure how items like this which require interactive input can > be run via the python project testing framework.
Replace sys.stdin with a custom object (a stub) and you can control input (see the Inputs class used in Lib/packaging/tests/test_create.py or Lib/packaging/tests/test_command_register.py). The readline module would not be used however, so that can’t be tested. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13500> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com