g2dZddlZddlmZGddeZy)z This plugin provides ``--pdb`` and ``--pdb-failures`` options. The ``--pdb`` option will drop the test runner into pdb when it encounters an error. To drop into pdb on failure, use ``--pdb-failures``. N)Pluginc:eZdZdZdZdZdZdZdZdZ dZ dZ y ) Pdbz Provides --pdb and --pdb-failures options that cause the test runner to drop into pdb if it encounters an error or failure, respectively. Fc |jddd|jddd|jddd |jd dd |jd dd |jdddy)z&Register commandline options. z--pdb store_true debugBothNOSE_PDBFz(Drop into debugger on failures or errors)actiondestdefaulthelpz--pdb-failures debugFailuresNOSE_PDB_FAILURESzDrop into debugger on failuresz --pdb-errors debugErrorsNOSE_PDB_ERRORSzDrop into debugger on errorsN) add_optionget)selfparserenvs A/opt/hc_python/lib/python3.12/site-packages/nose/plugins/debug.pyoptionsz Pdb.optionss  L{GGJ.;  =  \ GG/71  3  <GG-u5/  1c||_|jxs |j|_|jxs |j|_|j xs |j|_y)zr9s  $9 &9 r