def equals(self, other):
        """
        Ensures :attr:`subject` is equal to *other*.
        """
        self._run(unittest_case.assertEqual, (self._subject, other))
        return ChainInspector(self._subject)
def equals ( self , other ) : self . _run ( unittest_case . assertEqual , ( self . _subject , other ) ) return ChainInspector ( self . _subject )
Ensures :attr:`subject` is equal to *other*.