nosetests trace snippet
This commit is contained in:
parent
bf1a82cf1c
commit
c55d618d78
@ -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 "
|
||||||
@ -225,5 +228,3 @@ snippet kwargs
|
|||||||
**kwargs${1:,}${0}
|
**kwargs${1:,}${0}
|
||||||
snippet akw
|
snippet akw
|
||||||
*args, **kwargs${1:,}${0}
|
*args, **kwargs${1:,}${0}
|
||||||
snippet nosetrace
|
|
||||||
from nose.tools import set_trace; set_trace()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user