Merge pull request #621 from squfrans/master

python: pdb in nosetests
This commit is contained in:
Holger Rapp 2015-10-12 07:37:03 +02:00
commit 91b0d4f192

View File

@ -148,6 +148,9 @@ snippet ptpython
# python console debugger (pudb) # python console debugger (pudb)
snippet pudb snippet pudb
import pudb; pudb.set_trace() import pudb; pudb.set_trace()
# pdb in nosetests
snippet nosetrace
from nose.tools import set_trace; set_trace()
snippet pprint snippet pprint
import pprint; pprint.pprint(${1}) import pprint; pprint.pprint(${1})
snippet " snippet "