def test_alreadyPadded(self):
        """
        If the list is already the length indicated by the padding argument
        then a list with the same value is returned.
        """
        items = [1, 2]
        padded = util.padTo(len(items), items)
        self.assertEqual(items, padded)

        If the list is already the length indicated by the padding argument
        then a list with the same value is returned.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_util.py