def test_strWithDevAndReleaseCandidate(self):
        """
        Calling C{str} on a version with a release candidate and dev release
        includes the release candidate and the dev release.
        """
        self.assertEqual(str(Version("dummy", 1, 0, 0,
                                     release_candidate=1, dev=2)),
                         "[dummy, version 1.0.0rc1dev2]")

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