summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-08-11 09:12:22 -0700
committerKhem Raj <raj.khem@gmail.com>2023-08-11 09:13:30 -0700
commit1de54a3daacc2ca3be0c3b0ac9a58dc178b96004 (patch)
treee5a426ec9354941d014f255f9d69f6ec494b48b1 /meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch
parentab1f6ee8bf4835fabdf02cb0e30b20e4ff11e5fb (diff)
downloadmeta-openembedded-1de54a3daacc2ca3be0c3b0ac9a58dc178b96004.tar.gz
python3-dominate: Fix get_thread_context ptest on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch b/meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch
new file mode 100644
index 0000000000..81211d4498
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch
@@ -0,0 +1,20 @@
1Fixes test failures on musl
2
3Fixes errors
4ptestresult.python3-dominate.tests/test_dom_tag.py::test___get_thread_context
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8
9diff --git a/tests/test_dom_tag.py b/tests/test_dom_tag.py
10index 43ffecb..1126e54 100644
11--- a/tests/test_dom_tag.py
12+++ b/tests/test_dom_tag.py
13@@ -18,6 +18,7 @@ def test___get_thread_context(monkeypatch):
14 monkeypatch.setattr(sut, 'threading', threading)
15
16 assert sut._get_thread_context() in [
17+ 1692341442, # Python >= 3.9, 32-bit
18 -6805948436281256182, # Python >= 3.9
19 3713141171098444831, # Python < 3.9
20 ]