Fix some test cases for expect testing
This commit is contained in:
parent
e5a1756543
commit
bc12529e75
@ -1,6 +1,4 @@
|
|||||||
import fileio
|
let x = 2
|
||||||
|
|
||||||
let x = int(fileio.stdin.readline()[:-1])
|
|
||||||
|
|
||||||
if x == 1:
|
if x == 1:
|
||||||
print "one"
|
print "one"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import system
|
import time
|
||||||
|
|
||||||
try:
|
try:
|
||||||
system.sleep()
|
time.sleep()
|
||||||
except:
|
except:
|
||||||
print "oh no! " + exception
|
print "oh no! " + exception
|
||||||
|
|
||||||
|
@ -27,4 +27,3 @@ try:
|
|||||||
except:
|
except:
|
||||||
print "This is the outer handler."
|
print "This is the outer handler."
|
||||||
print exception
|
print exception
|
||||||
raise exception
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user