enthought / traits

Observable typed attributes for Python classes
Other
432 stars 85 forks source link

Remove deprecated rich_compare metadata #1698

Closed mdickinson closed 2 years ago

mdickinson commented 2 years ago

This PR removes the deprecated rich_compare metadata.

Closes #602.

mdickinson commented 2 years ago

There are some unused imports that need fixing.

mdickinson commented 2 years ago

I'd suggest perhaps renaming test_rich_compare.py and the classes inside it

Done; I've cleaned up that test module; while I was at it, I added missing tests for ComparisonMode.none complementing the existing ones for ComparisonMode.identity and ComparisonMode.equality.