diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-08-11 09:12:22 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-08-11 09:13:30 -0700 |
| commit | 1de54a3daacc2ca3be0c3b0ac9a58dc178b96004 (patch) | |
| tree | e5a426ec9354941d014f255f9d69f6ec494b48b1 /meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch | |
| parent | ab1f6ee8bf4835fabdf02cb0e30b20e4ff11e5fb (diff) | |
| download | meta-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.patch | 20 |
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 @@ | |||
| 1 | Fixes test failures on musl | ||
| 2 | |||
| 3 | Fixes errors | ||
| 4 | ptestresult.python3-dominate.tests/test_dom_tag.py::test___get_thread_context | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | |||
| 9 | diff --git a/tests/test_dom_tag.py b/tests/test_dom_tag.py | ||
| 10 | index 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 | ] | ||
