Commit 39bd7525 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f9dc0170
......@@ -800,10 +800,9 @@ class TestAssertMatch(unittest.TestCase):
]
for mok, v, vok in testv:
if mok:
assertMatch(t, v, vok)
else:
t.assertRaises(t.failureException,
assertMatch, t, v, vok)
# XXX test for assertMatch
with t.subTest(mok=mok, v=v, vok=vok):
if mok:
assertMatch(t, v, vok)
else:
t.assertRaises(t.failureException,
assertMatch, t, v, vok)
......@@ -27,4 +27,4 @@ export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot
#time ../k/kpython_for_test -m unittest discover -vf -k TestUEsim_Lopcomm
#time ../k/kpython_for_test -m unittest discover -vf -k TestUEsim_Sunwave
#time ../k/kpython_for_test -m unittest discover -vf -k TestUEsim_RUMultiType
time ../k/kpython_for_test -m unittest discover -vf -k TestAssert
time ../k/kpython_for_test -m unittest discover -v -k TestAssert
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment