ARM-software / trappy

This repository has moved to https://gitlab.arm.com/tooling/trappy
Apache License 2.0
60 stars 39 forks source link

trappy: utils: Fix get_duplicates FutureWarning #286

Closed valschneider closed 5 years ago

valschneider commented 5 years ago

We've had this one for a few months now:

trappy/utils.py:78: FutureWarning: 'get_duplicates' is deprecated and will be removed in a future release. You can use idx[idx.duplicated()].unique() instead dups = index.get_duplicates()

Do what the warning says.

valschneider commented 5 years ago

(Woopsie daisy, this is straight for my lisa tree, forgot to remove the trappy: prefix, hang on)