-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
needs-infoMore information is needed from the issue authorMore information is needed from the issue author
Description
I had this piece of code where ruff complained about the first assert statement and not about the second. I figure it could also complain about the second for the same reason.
def test_eq__by_memory_location(self):
class MyClass:
...
instance1 = MyClass()
instance2 = MyClass()
assert instance1 is instance1
assert id(instance1) == id(instance1)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-infoMore information is needed from the issue authorMore information is needed from the issue author