nosetests trace snippet

This commit is contained in:
frans 2015-09-10 11:27:53 +02:00
parent bf1a82cf1c
commit c55d618d78

View File

@ -148,6 +148,9 @@ snippet ptpython
# python console debugger (pudb)
snippet pudb
import pudb; pudb.set_trace()
# pdb in nosetests
snippet nosetrace
from nose.tools import set_trace; set_trace()
snippet pprint
import pprint; pprint.pprint(${1})
snippet "
@ -225,5 +228,3 @@ snippet kwargs
**kwargs${1:,}${0}
snippet akw
*args, **kwargs${1:,}${0}
snippet nosetrace
from nose.tools import set_trace; set_trace()