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.
This commit is contained in:
Mark Dickinson 2010-04-03 16:41:20 +00:00
parent 0ccc7bbb34
commit 920fd66ac6
7 changed files with 7 additions and 7 deletions

View file

@ -695,7 +695,7 @@ initMacOS(void)
{
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);