Skip to content

Conversation

patel-bhavin
Copy link
Contributor

@patel-bhavin patel-bhavin commented Jul 26, 2024

fixing a bug on selected changes for unit -testing when selected!

image

pyth0n1c
pyth0n1c previously approved these changes Jul 26, 2024
Copy link
Contributor

@pyth0n1c pyth0n1c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is due to the newly implemented eq method in v4.2.0. That was added along with lt and hash to make sorting and set operations easier for all SecurityContentObjects. eq and lt not can ONLY occur between SecurityContentObjects - it should not work (and should raise an exception) for tests between any other objects.
This INCLUDEs None. In addition since x is None is more Pythonic than x == None, we probably want to maintain this behavior.

Copy link
Contributor

@pyth0n1c pyth0n1c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just bumped release version

@pyth0n1c pyth0n1c merged commit 016f616 into main Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants