def test_resize(self):
    self.assertEqual(self.buffer.buffer_size, self.BUFFER_SIZE)
    self.buffer.resize((self.BUFFER_SIZE * 2))
    self.assertEqual(self.buffer.buffer_size, (self.BUFFER_SIZE * 2))
def test_resize(self):
    self.assertEqual(self.buffer.buffer_size, self.BUFFER_SIZE)
    self.buffer.resize((self.BUFFER_SIZE * 2))
    self.assertEqual(self.buffer.buffer_size, (self.BUFFER_SIZE * 2))