summaryrefslogtreecommitdiffstats
path: root/Modules/_testimportmultiple.c
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-15 15:22:59 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-15 15:22:59 (GMT)
commitef9a43b2c97d91ab3343372d3e310136938ee505 (patch)
treea6a673ad6c9985b9e070891872ec7c8f466f4e87 /Modules/_testimportmultiple.c
parent5cb8a31dc46db672ac442fcd78b5acc5dad74e91 (diff)
downloadcpython-ef9a43b2c97d91ab3343372d3e310136938ee505.zip
cpython-ef9a43b2c97d91ab3343372d3e310136938ee505.tar.gz
cpython-ef9a43b2c97d91ab3343372d3e310136938ee505.tar.bz2
Rename test module names for #16421 to don't clash with other tests.
Diffstat (limited to 'Modules/_testimportmultiple.c')
-rw-r--r--Modules/_testimportmultiple.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/_testimportmultiple.c b/Modules/_testimportmultiple.c
index baad29d..0ef573f 100644
--- a/Modules/_testimportmultiple.c
+++ b/Modules/_testimportmultiple.c
@@ -24,8 +24,8 @@ PyMODINIT_FUNC PyInit__testimportmultiple()
static struct PyModuleDef _foomodule = {
PyModuleDef_HEAD_INIT,
- "foo",
- "foo doc",
+ "_testimportmultiple_foo",
+ "_testimportmultiple_foo doc",
-1,
NULL,
NULL,
@@ -34,15 +34,15 @@ static struct PyModuleDef _foomodule = {
NULL
};
-PyMODINIT_FUNC PyInit_foo()
+PyMODINIT_FUNC PyInit__testimportmultiple_foo()
{
return PyModule_Create(&_foomodule);
}
static struct PyModuleDef _barmodule = {
PyModuleDef_HEAD_INIT,
- "bar",
- "bar doc",
+ "_testimportmultiple_bar",
+ "_testimportmultiple_bar doc",
-1,
NULL,
NULL,
@@ -51,7 +51,7 @@ static struct PyModuleDef _barmodule = {
NULL
};
-PyMODINIT_FUNC PyInit_bar(){
+PyMODINIT_FUNC PyInit__testimportmultiple_bar(){
return PyModule_Create(&_barmodule);
}