diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 16:41:20 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 16:41:20 (GMT) |
commit | 920fd66ac6e723246baf6c3ed9f720675811bb15 (patch) | |
tree | f99e9ab8ddb72a3e6d0b4007287322575b1d30e8 /Mac/Modules/Nav.c | |
parent | 0ccc7bbb34100c1de1b407da741db06fe76bc227 (diff) | |
download | cpython-920fd66ac6e723246baf6c3ed9f720675811bb15.zip cpython-920fd66ac6e723246baf6c3ed9f720675811bb15.tar.gz cpython-920fd66ac6e723246baf6c3ed9f720675811bb15.tar.bz2 |
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.
Diffstat (limited to 'Mac/Modules/Nav.c')
-rw-r--r-- | Mac/Modules/Nav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c index 1c17776..f7b19b9 100644 --- a/Mac/Modules/Nav.c +++ b/Mac/Modules/Nav.c @@ -932,7 +932,7 @@ initNav(void) { PyObject *m, *d; - if (PyErr_WarnPy3k("In 3.x, Nav is removed.", 1)) + if (PyErr_WarnPy3k("In 3.x, the Nav module is removed.", 1)) return; #ifdef __LP64__ |