8 lines
305 B
Python
8 lines
305 B
Python
# Filter out warnings about signed/unsigned constants
|
|
import warnings
|
|
warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls")
|
|
warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor")
|
|
|
|
from warnings import warnpy3k
|
|
warnpy3k("In 3.x, the Carbon package is removed.", stacklevel=2)
|