test_ok2/py/_compat/dep_optparse.py

5 lines
147 B
Python

import py
py.log._apiwarn("1.1", "py.compat.optparse deprecated, use standard library version.", stacklevel="apipkg")
optparse = py.std.optparse