Adding Mitogen plugin and strategy.
This commit is contained in:
@@ -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"
|
||||
+5
@@ -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
|
||||
+1
@@ -0,0 +1 @@
|
||||
I_AM = "the module inside the replaced subpackage"
|
||||
Reference in New Issue
Block a user