4 Commits
Author SHA1 Message Date
Khem Raj 98f68d8c34 python3-execnet: Fix test_remote_exec_module_is_removed ptest
The test is parametrized over gateway types; it imports "remote" from
its tmp_path and then deletes that directory, but the module stays in
sys.modules. Every run after the first got the stale module back and
failed with "OSError: could not get source code". Drop the cached
module before importing it.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-06 00:12:32 -08:00
Derek Straka cc3942a549 python3-execnet: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Tim Orling 202a3818dd python3-execnet: switch to pytest --automake
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:39 -08:00
Khem Raj 9e456c6908 python3-execnet: Add ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-06-24 12:54:18 -07:00