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:
if mok: with t.subTest(mok=mok, v=v, vok=vok):
assertMatch(t, v, vok) if mok:
else: assertMatch(t, v, vok)
t.assertRaises(t.failureException, else:
assertMatch, t, v, vok) t.assertRaises(t.failureException,
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