def setUp(self):
# ``warnings='ignore'`` is used to suppress ``ResourceWarning``.
# Another solution is to write the following lines when you call KNP.
# >> knp.subprocess.process.stdout.close()
# >> knp.juman.subprocess.process.stdout.close()
warnings.simplefilter('ignore', ResourceWarning)
评论列表
文章目录