Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pystat-0.2.4/pystat/tests/test_plain_counter.py   pystat(Download)
    def test_overflow(self):
        c = PlainCounter()
        c.load(11111111111111111111)
        with self.assertRaises(OverflowError):
            len(c)
 
    def test_load(self):
        c = PlainCounter()
        c.load(5)