Remove assertions from python test cases
This commit is contained in:
parent
88f1389f80
commit
8cf62a3325
2 changed files with 13 additions and 5 deletions
|
|
@ -1,5 +1,9 @@
|
|||
from name_warnings import *
|
||||
|
||||
four = double_an_int(2)
|
||||
assert four == 4
|
||||
def check(flag):
|
||||
if not flag:
|
||||
raise RuntimeError("Test failed")
|
||||
|
||||
four = double_an_int(2)
|
||||
check(four == 4)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue