unittest framework comes assertion, if you want to use assert assertion must be introduced unittest.TestCase framework for the job otherwise it does not automatically recognize assert assertion
unittest framework in python assert assertion
Guess you like
Origin www.cnblogs.com/fish-101/p/11294524.html
Ranking