Merge pull request #13 from neoascetic/pdb
Added PDB breakpoint snippet (by Pavel)
This commit is contained in:
commit
95cff58cc6
@ -421,6 +421,10 @@ endsnippet
|
|||||||
# Assertions & Tests #
|
# Assertions & Tests #
|
||||||
#####################
|
#####################
|
||||||
|
|
||||||
|
snippet pdb "Set PDB breakpoint" b
|
||||||
|
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