mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix #2159. Disable JUnit in Behave in Blender due to Etree conflicts.
This commit is contained in:
@@ -393,6 +393,9 @@ endif
|
||||
cd dist/working/ && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.7.0/src/ifcbimtester/patch/runner_util.patch
|
||||
cd dist/working/ && patch ../blenderbim/libs/site/packages/behave/model_core.py < model_core.patch
|
||||
cd dist/working/ && patch ../blenderbim/libs/site/packages/behave/runner_util.py < runner_util.patch
|
||||
# See bug #2159
|
||||
cd dist/working/ && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.7.0/src/ifcbimtester/patch/junit.patch
|
||||
cd dist/working/ && patch ../blenderbim/libs/site/packages/behave/reporter/junit.py < junit.patch
|
||||
rm -rf dist/working
|
||||
|
||||
# Required by ids - uh, not any more, but I'm trying it out in the drawing module
|
||||
|
||||
@@ -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):
|
||||
Reference in New Issue
Block a user