DOC: trim error traceback in allows_duplicate_labels whatsnew entry
xref https://github.com/pandas-dev/pandas/issues/37784#issuecomment-733183201

Ensure a more readable section (shorter error traceback) by using a plain code-block instead of the dynamic ipython directive