def test_bad_version_raises(self):
     """Test bad version components raise exception"""
     msg = r"The supplied `version` is not conformant with PEP440"
     with pytest.raises(ValueError, match=msg):
         extract_components("m.12.a.b.devA")
 def test_extract_components(self, version):
     """Test various forms of the version components"""
     extract_components(version)