Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Just like self.assertTrue(a is b), but with a nicer default message.

src/p/y/pystat-0.2.4/pystat/tests/test_plain_counter.py   pystat(Download)
    def test_fluent(self):
        c = PlainCounter()
        self.assertIs(c, c.add().add())
        self.assertEqual(2, len(c))
 

src/p/y/pystat-0.2.4/pystat/tests/test_counter.py   pystat(Download)
    def test_fluent(self):
        c = Counter()
        self.assertIs(c, c.add().add())
        self.assertEqual(2, len(c))