tests/read_stream.py | raw changeset files shortlog |
1.1 --- a/tests/read_stream.py Thu Dec 08 19:29:12 2016 +0100 1.2 +++ b/tests/read_stream.py Thu Dec 08 21:45:09 2016 +0100 1.3 @@ -1,7 +1,9 @@ 1.4 from sys import stdin 1.5 1.6 +print "Reading 10 bytes..." 1.7 s = stdin.read(10) 1.8 print s 1.9 1.10 +print "Reading to end of file..." 1.11 s = stdin.read() 1.12 print s