Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!
diff --git a/Modules/_testmodule.c b/Modules/_testcapimodule.c
similarity index 92%
rename from Modules/_testmodule.c
rename to Modules/_testcapimodule.c
index e4c9c75..1b3b596 100644
--- a/Modules/_testmodule.c
+++ b/Modules/_testcapimodule.c
@@ -56,13 +56,13 @@
};
DL_EXPORT(void)
-init_test(void)
+init_testcapi(void)
{
PyObject *m, *d;
- m = Py_InitModule("_test", TestMethods);
+ m = Py_InitModule("_testcapi", TestMethods);
- TestError = PyErr_NewException("_test.error", NULL, NULL);
+ TestError = PyErr_NewException("_testcapi.error", NULL, NULL);
d = PyModule_GetDict(m);
PyDict_SetItemString(d, "error", TestError);
}