Add directory for I/O tests with basic test for file methods.
This commit is contained in:
parent
8c3858b016
commit
9954b4b99d
|
@ -0,0 +1,3 @@
|
|||
longer line1
|
||||
line2
|
||||
line3
|
|
@ -0,0 +1,4 @@
|
|||
f = open("io/data/file1")
|
||||
print(f.read(5))
|
||||
print(f.readline())
|
||||
print(f.read())
|
|
@ -10,7 +10,7 @@ numpassed=0
|
|||
numfailed=0
|
||||
namefailed=
|
||||
|
||||
for infile in basics/*.py
|
||||
for infile in basics/*.py io/*.py
|
||||
do
|
||||
basename=`basename $infile .py`
|
||||
outfile=${basename}.out
|
||||
|
|
Loading…
Reference in New Issue