cpython/Lib/test/test_warnings/data/import_warning.py

4 lines
89 B
Python
Raw Normal View History

import warnings
2015-09-07 02:31:26 -03:00
warnings.warn('module-level warning', DeprecationWarning, stacklevel=2)