Adding Mitogen plugin and strategy.

This commit is contained in:
2026-04-09 19:51:43 -04:00
parent a85f7f50e9
commit 3ae80ef3bb
115 changed files with 26212 additions and 0 deletions
@@ -0,0 +1,5 @@
# #590: a package that turns itself into a module.
I_AM = "the package that was replaced"
import sys
from testmods.pkg_like_ansible.module_utils.distro import _distro
sys.modules[__name__] = _distro
@@ -0,0 +1 @@
I_AM = "the module that replaced the package"
@@ -0,0 +1,5 @@
# #590: a subpackage that turns itself into a module from elsewhere on sys.path.
I_AM = "the subpackage that was replaced with a system module"
import sys
import testmod_system_distro
sys.modules[__name__] = testmod_system_distro
@@ -0,0 +1 @@
I_AM = "the module inside the replaced subpackage"