Fix #2159. Disable JUnit in Behave in Blender due to Etree conflicts.

This commit is contained in:
Dion Moult
2022-08-26 13:40:20 +10:00
parent 4b4e2e1622
commit eb2a71bf48
2 changed files with 14 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
--- junit-original.py 2022-08-26 13:20:23.148507399 +1000
+++ junit.py 2022-08-26 13:20:47.087450150 +1000
@@ -108,7 +108,7 @@
ElementTree.ElementTree._write(self, file, node, encoding,
namespaces)
-if hasattr(ElementTree, '_serialize'):
+if hasattr(ElementTree, '_serialize') and False:
# pylint: disable=protected-access
def _serialize_xml2(write, elem, encoding, qnames, namespaces,
orig=ElementTree._serialize_xml):