uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
diff --git a/tests/base.py b/tests/base.py
|
||||
index b05de1d..5ec356f 100644
|
||||
--- a/tests/base.py
|
||||
+++ b/tests/base.py
|
||||
@@ -94,6 +94,7 @@ class TestMemoryLeaks(unittest.TestCase):
|
||||
|
||||
def load_xml(self, name, xpath=None):
|
||||
"""returns xml.etree"""
|
||||
+ etree.set_default_parser(parser=etree.XMLParser())
|
||||
root = etree.parse(self.path(name)).getroot()
|
||||
if xpath is None:
|
||||
return root
|
||||
diff --git a/tests/test_doc_examples.py b/tests/test_doc_examples.py
|
||||
index 2fc490f..53d2377 100644
|
||||
--- a/tests/test_doc_examples.py
|
||||
+++ b/tests/test_doc_examples.py
|
||||
@@ -42,3 +42,5 @@ def test_doc_example(example):
|
||||
"""
|
||||
with cd(example.parent):
|
||||
runpy.run_path(str(example))
|
||||
+ from lxml import etree
|
||||
+ etree.set_default_parser(parser=etree.XMLParser())
|
||||
Loading…
Add table
Add a link
Reference in a new issue