def test_clear(self): my_queue.enqueue(3) my_queue.clear() self.assertIsNone(my_queue.dequeue())
def setUp(self): my_queue.clear()