def test_workingRepr(self):
        """
        L{reflect.safe_repr} produces the same output as C{repr} on a working
        object.
        """
        xs = ([1, 2, 3], b'a')
        self.assertEqual(list(map(reflect.safe_repr, xs)), list(map(repr, xs)))

        L{reflect.safe_repr} produces the same output as C{repr} on a working
        object.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_reflect.py