def test_strWithPrerelease(self):
        """
        Calling C{str} on a version with a prerelease includes the prerelease
        as a release candidate.
        """
        self.assertEqual(str(Version("dummy", 1, 0, 0, prerelease=1)),
                         "[dummy, version 1.0.0rc1]")

        Calling C{str} on a version with a prerelease includes the prerelease
        as a release candidate.
        
stackoverflow/venv/lib/python3.6/site-packages/incremental/tests/test_version.py