mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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:
parent
0ccc7bbb34
commit
920fd66ac6
7 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
|||
# we are not running in a framework build.
|
||||
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("In 3.x, appletrunner is removed.", stacklevel=2)
|
||||
warnpy3k("In 3.x, the appletrunner module is removed.", stacklevel=2)
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue