test_security_set: detect missing xml support
diff --git a/pym/portage/tests/glsa/test_security_set.py b/pym/portage/tests/glsa/test_security_set.py
index 7b209f4..edf5678 100644
--- a/pym/portage/tests/glsa/test_security_set.py
+++ b/pym/portage/tests/glsa/test_security_set.py
@@ -58,8 +58,21 @@
 </glsa>
 """
 
+	def _must_skip(self):
+		try:
+			__import__("xml.etree.ElementTree")
+			__import__("xml.parsers.expat").parsers.expat.ExpatError
+		except (AttributeError, ImportError):
+			return "python is missing xml support"
+
 	def testSecuritySet(self):
 
+		skip_reason = self._must_skip()
+		if skip_reason:
+			self.portage_skip = skip_reason
+			self.assertFalse(True, skip_reason)
+			return
+
 		ebuilds = {
 			"cat/A-vulnerable-2.2": {
 				"KEYWORDS": "x86"