New test_fileinput.py from Nick Mathewson, fiddled to use TESTFN and sundry style nits.
Attach a file by drag & drop or click to upload