def test_getVersionStringWithPrerelease(self):
        """
        L{getVersionString} includes the prerelease as a release candidate, if
        any.
        """
        self.assertEqual(
            getVersionString(Version("whatever", 8, 0, 0, prerelease=1)),
            "whatever 8.0.0rc1")

        L{getVersionString} includes the prerelease as a release candidate, if
        any.
        
stackoverflow/venv/lib/python3.6/site-packages/incremental/tests/test_version.py