def test_eq(self):
        """
        A L{DelayedCall} instance is only equal to itself.
        """
        # Explicitly use == here, instead of assertEqual, to be more
        # confident __eq__ is being tested.
        self.assertFalse(self.zero == self.one)
        self.assertTrue(self.zero == self.zero)
        self.assertTrue(self.one == self.one)

        A L{DelayedCall} instance is only equal to itself.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_base.py