{"url":"https://y0m0r.hateblo.jp/entry/20140916/1410879217","author_name":"yuheiomori0718","version":"1.0","provider_url":"https://hatena.blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","title":"unittest.TestCase\u306e\u51fa\u529b\u3067\u671f\u5f85\u5024\u3068\u5b9f\u969b\u306e\u5024\u306e\u5dee\u5206\u3092\u7701\u7565\u3057\u306a\u3044","published":"2014-09-16 23:53:37","type":"rich","provider_name":"Hatena Blog","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","height":"190","blog_url":"https://y0m0r.hateblo.jp/","categories":["python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20140916%2F1410879217\" title=\"unittest.TestCase\u306e\u51fa\u529b\u3067\u671f\u5f85\u5024\u3068\u5b9f\u969b\u306e\u5024\u306e\u5dee\u5206\u3092\u7701\u7565\u3057\u306a\u3044 - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"unittest.TestCase\u306eassertEquals\u306a\u3069\u3067\u3001\u671f\u5f85\u5024\u3068\u5b9f\u969b\u306e\u5024\u306e\u5dee\u5206\u304c\u5927\u304d\u3044\u5834\u540880*8\u6587\u5b57\u307e\u3067\u8868\u793a\u3057\u3066\u3042\u3068\u306f\u7701\u7565\u3055\u308c\u308b # coding=utf-8 from unittest import TestCase class DiffTest(TestCase): def test_diff(self): self.assertEquals(range(0, 1000), range(0, 1001)) \u5b9f\u884c\u7d50\u679c AssertionError: Lists differ: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9,... != [0, 1, 2, 3, 4\u2026","width":"100%"}