Added PDB breakpoint snippet
This commit is contained in:
parent
93b480ab6f
commit
4f80d6c084
@ -421,6 +421,10 @@ endsnippet
|
|||||||
# Assertions & Tests #
|
# Assertions & Tests #
|
||||||
#####################
|
#####################
|
||||||
|
|
||||||
|
snippet pdb "Set PDB breakpoint"
|
||||||
|
import pdb; pdb.set_trace()
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet ae "Assert equal" b
|
snippet ae "Assert equal" b
|
||||||
self.assertEqual(${1:first},${2:second})
|
self.assertEqual(${1:first},${2:second})
|
||||||
endsnippet
|
endsnippet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user