在使用基于类的测试时,不会为每个假设测试调用 setUp()。

作者: martinth创建于 2015年4月16日更新于 2025年11月2日
标签docsinterop

如果我运行这个代码,我会得到以下输出:

内容来源: HypothesisWorks/hypothesis