diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-20 18:01:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 18:01:38 +0000 |
commit | 7f8db6f00ddc11410d73ae1562b99dff9160a651 (patch) | |
tree | deda90bee0a130f56ade4509621a38b84db96ac7 /doc/languages-frameworks | |
parent | fbb579e773961e7f77d905019280d09be25a3537 (diff) | |
parent | 36232fff71d83ffd6df00c11c237f1fc478a4911 (diff) |
Merge staging-next into staging
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index fa7f3eddf72c..4ca177bcdd26 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -2014,6 +2014,10 @@ example of such a situation is when `py.test` is used. * Tests that attempt to access `$HOME` can be fixed by using the following work-around before running tests (e.g. `preCheck`): `export HOME=$(mktemp -d)` +* Compiling with Cython causes tests to fail with a `ModuleNotLoadedError`. + This can be fixed with two changes in the derivation: 1) replacing `pytest` with + `pytestCheckHook` and 2) adding a `preCheck` containing `cd $out` to run + tests within the built output. ## Contributing {#contributing} |