fix test_py3kwarns

The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
This commit is contained in:
Benjamin Peterson 2008-07-14 17:42:17 +00:00
parent 2ee623b710
commit a6864e0d9f
38 changed files with 60 additions and 57 deletions

View file

@ -19,7 +19,7 @@ Based upon STDWIN dialogs with the same names and functions.
"""
from warnings import warnpy3k
warnpy3k("In 3.x, the EasyDialogs module is removed.")
warnpy3k("In 3.x, the EasyDialogs module is removed.", stacklevel=2)
from Carbon.Dlg import GetNewDialog, SetDialogItemText, GetDialogItemText, ModalDialog
from Carbon import Qd