tests/read.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/read.py Tue Dec 06 20:32:33 2016 +0100 1.3 @@ -0,0 +1,9 @@ 1.4 +from posix.io import read 1.5 + 1.6 +try: 1.7 + s = read(3, 10) 1.8 +except IOError, exc: 1.9 + print "read(3, 10): input/output error condition", exc.value 1.10 + 1.11 +s = read(0, 10) 1.12 +print s