{"provider_url":"https://hatena.blog","description":"unittest \u3067\u30c7\u30b3\u30ec\u30fc\u30bf @ddt \u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u3002GitHub - datadriventests/ddt: Data-Driven Tests for Python Unittest \u306e\u3088\u3046\u3060\u3002 import unittest from ddt import ddt, data @ddt class TestTestCase(unittest.TestCase): @data(3, 1, 4) def test(self, value): print(type(value), value) if __name__ == '__main__': unittest.main() \u3092\u5b9f\u884c\u3059\u2026","categories":["quantum_computing"],"type":"rich","provider_name":"Hatena Blog","version":"1.0","title":"Qiskit Aer (3)","width":"100%","published":"2022-10-02 14:31:01","author_url":"https://blog.hatena.ne.jp/derwind/","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","blog_url":"https://randommemory.hatenablog.com/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F10%2F02%2F143101\" title=\"Qiskit Aer (3) - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://randommemory.hatenablog.com/entry/2022/10/02/143101","author_name":"derwind","height":"190"}