https://pantsbuild.org/ logo
h

hundreds-father-404

03/31/2020, 5:09 PM
This is the implementation:
Copy code
def __eq__(self, other: Union[Any, "Collection"]) -> bool:
        if not isinstance(other, self.__class__):
            return NotImplemented
        return self.dependencies == other.dependencies
Then I ran
./v2 test --debug tests/python/pants_test/engine/test_objects.py
.