26 specifier_set = SpecifierSet(spec)
27 except InvalidSpecifier:
28 specifier_set = None
29 self.failUnless(specifier_set, msg=message)30 self.assertIsInstance(specifier_set, SpecifierSet, message)
31
32 def test_main_module(self):
The method is marked as deprecated and will be removed in a future version of Python. Consider looking for an alternative in the documentation.