Don't use unittest.suite and unittest.test (#16464)

This commit is contained in:
flywind
2020-12-27 03:15:57 -06:00
committed by GitHub
parent 3f9a2ebea5
commit b57df6d0b3

View File

@@ -47,7 +47,7 @@ which only gets executed when the tester is building the file.
Each test should be in a separate ``block:`` statement, such that
each has its own scope. Use boolean conditions and ``doAssert`` for the
testing by itself, don't rely on echo statements or similar; in particular, avoid
things like `echo "done"`.
things like `echo "done"`. Don't use `unittest.suite` and `unittest.test`.
Sample test: