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

        for s in [
           '1.2.0 beta 4',
           '1.2.2-',
           '1.2.3b#5',
           'v1.2.2',
           '1.4b.0',
           '1v.2.2v',
           '1.2.4b.5',
           '1.2.3.4',
           '1.2.3 4',
           '1.2000000000000000.3.4',]:
            ar(s)
dataset/ETHPy150Open dvarrazzo/pgxnclient/pgxnclient/tests/test_semver.py/SemVerTestCase.test_cant_clean