def test_validates_invalid_pep440_specifier(self, specifier): with pytest.raises(ValidationError): pypi._validate_pep440_specifier(specifier)
def test_validates_valid_pep440_specifier(self, specifier): pypi._validate_pep440_specifier(specifier)