Message148973
| Author |
eric.araujo |
| Recipients |
eric.araujo, jcea, ngie, python-dev, vstinner |
| Date |
2011年12月07日.16:16:45 |
| SpamBayes Score |
0.00060478895 |
| Marked as misclassified |
No |
| Message-id |
<1323274606.39.0.78828144891.issue13500@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月07日 16:16:46 | eric.araujo | set | recipients:
+ eric.araujo, jcea, vstinner, ngie, python-dev |
| 2011年12月07日 16:16:46 | eric.araujo | set | messageid: <1323274606.39.0.78828144891.issue13500@psf.upfronthosting.co.za> |
| 2011年12月07日 16:16:45 | eric.araujo | link | issue13500 messages |
| 2011年12月07日 16:16:45 | eric.araujo | create |
|