Did I find the right examples for you? yes no

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

src/w/i/wishbone-0.4.10/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_init_max_size(self):
        queue = WishboneQueue(max_size=1)
        queue.put("test")
        try:
            queue.put("test")
    def test_clear(self):
        queue = WishboneQueue()
        queue.put("test")
        assert queue.size() == 1
 
    def test_dump(self):
        queue = WishboneQueue()
        queue.put("test")
        queue.put("test")

src/w/i/wishbone-HEAD/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_init_max_size(self):
        queue = WishboneQueue(max_size=1)
        queue.put("test")
        try:
            queue.put("test")
    def test_clear(self):
        queue = WishboneQueue()
        queue.put("test")
        assert queue.size() == 1
 
    def test_dump(self):
        queue = WishboneQueue()
        queue.put("test")
        queue.put("test")