def test_match(self):
     for spec, version in self.matches:
         self.assertTrue(base.match(spec, version),
             "%r should accept %r" % (spec, version))
 def test_match(self):
     for spec, version in self.matches:
         self.assertTrue(base.match(spec, version),
                         "%r should accept %r" % (spec, version))
Beispiel #3
0
 def test_match(self):
     for spec, version in self.matches:
         with self.subTest(spec=spec, version=version):
             self.assertTrue(base.match(spec, version),
                             "%r should accept %r" % (spec, version))