{"title":"unittest2\u3067\u30c6\u30b9\u30c8\u30b9\u30ad\u30c3\u30d7\u3059\u308b","published":"2012-01-23 00:52:32","version":"1.0","provider_url":"https://hatena.blog","description":"\u30c6\u30b9\u30c8\u3092\u7279\u5b9a\u306e\u6761\u4ef6\u306e\u5834\u5408\u306e\u307f\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002unittest2(python2.7,python3.2\u4ee5\u964d\u3060\u3068unittest)\u3060\u3068unittest2.skip\u3068\u3044\u3046\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002http://www.voidspace.org.uk/python/articles/unittest2.shtml\u3053\u3093\u306a\u611f\u3058 platform = 'linux' if sys.platform.startswith('linux') else sys.platform @skip(\"skip this test\") def test_method(self): ... @skipIf(platf\u2026","blog_url":"https://masahito.hatenablog.com/","type":"rich","width":"100%","image_url":null,"categories":["\u30c6\u30b9\u30c8","python"],"url":"https://masahito.hatenablog.com/entry/20120123/1327333952","height":"190","author_url":"https://blog.hatena.ne.jp/Ehren/","blog_title":"Keep on moving","author_name":"Ehren","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasahito.hatenablog.com%2Fentry%2F20120123%2F1327333952\" title=\"unittest2\u3067\u30c6\u30b9\u30c8\u30b9\u30ad\u30c3\u30d7\u3059\u308b - Keep on moving\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}