def test_rcEqualspre(self):
        """
        Release Candidates are equal to prereleases.
        """
        va = Version("whatever", 1, 0, 0, release_candidate=1)
        vb = Version("whatever", 1, 0, 0, prerelease=1)
        self.assertTrue(va == vb)
        self.assertFalse(va != vb)

        Release Candidates are equal to prereleases.
        
stackoverflow/venv/lib/python3.6/site-packages/incremental/tests/test_version.py