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

.

parent f9dc0170
...@@ -800,10 +800,9 @@ class TestAssertMatch(unittest.TestCase): ...@@ -800,10 +800,9 @@ class TestAssertMatch(unittest.TestCase):
] ]
for mok, v, vok in testv: for mok, v, vok in testv:
with t.subTest(mok=mok, v=v, vok=vok):
if mok: if mok:
assertMatch(t, v, vok) assertMatch(t, v, vok)
else: else:
t.assertRaises(t.failureException, t.assertRaises(t.failureException,
assertMatch, t, v, vok) assertMatch, t, v, vok)
# XXX test for assertMatch
...@@ -27,4 +27,4 @@ export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot ...@@ -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_Lopcomm
#time ../k/kpython_for_test -m unittest discover -vf -k TestUEsim_Sunwave #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 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