Ensure 'module removed' warning messages contain the word 'module' or 'package'.
This should fix the test_py3kwarn failure on OS X. test_support.import_module
also requires this.
diff --git a/Mac/Modules/MacOS.c b/Mac/Modules/MacOS.c
index bef7f88..19deb44 100644
--- a/Mac/Modules/MacOS.c
+++ b/Mac/Modules/MacOS.c
@@ -695,7 +695,7 @@
{
PyObject *m, *d;
- if (PyErr_WarnPy3k("In 3.x, MacOS is removed.", 1))
+ if (PyErr_WarnPy3k("In 3.x, the MacOS module is removed.", 1))
return;
m = Py_InitModule("MacOS", MacOS_Methods);