def test_unequality(self):
        """
        Inequality between instances of a particular L{record} should be
        defined as the negation of equality.
        """
        self.assertFalse(Record(1, 2) != Record(1, 2))
        self.assertTrue(Record(1, 2) != Record(1, 3))
        self.assertTrue(Record(1, 2) != Record(2, 2))
        self.assertTrue(Record(1, 2) != Record(3, 4))

        Inequality between instances of a particular L{record} should be
        defined as the negation of equality.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_util.py