def test_bad(self):
        def ar(s):
            try: SemVer(s)
            except __HOLE__: pass
            else: self.fail("ValueError not raised: '%s'" % s)

        for s in [
           '1.2',
           '1.2.02',
           '1.2.2-',
           '1.2.3b#5',
           '03.3.3',
           'v1.2.2',
           '1.3b',
           '1.4b.0',
           '1v',
           '1v.2.2v',
           '1.2.4b.5', ]:
            ar(s)
dataset/ETHPy150Open dvarrazzo/pgxnclient/pgxnclient/tests/test_semver.py/SemVerTestCase.test_bad