Don't use unittest.suite and unittest.test (#16464)
This commit is contained in:
parent
3f9a2ebea5
commit
b57df6d0b3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 test should be in a separate ``block:`` statement, such that
|
||||||
each has its own scope. Use boolean conditions and ``doAssert`` for the
|
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
|
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:
|
Sample test:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue