Add sample test for assertions with messages

This commit is contained in:
aps 2023-02-10 22:41:27 -05:00
parent 2563f64670
commit ac9640f73e

View File

@ -41,4 +41,11 @@ def f1():
try: try:
f1() f1()
except KeyError: except KeyError:
print("PASS 04") print("PASS 04")
assert True, "Msg"
try:
assert False, "Msg"
except AssertionError:
print("PASS 05")