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

        L{getVersionString} includes the prerelease, if any.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_versions.py