Browse Source

added a snippet to tell django/nose to not cover a function

master
Julio Biason 10 years ago
parent
commit
6ddf00f711
  1. 4
      UltiSnips/python.snippets

4
UltiSnips/python.snippets

@ -40,3 +40,7 @@ endsnippet
snippet af "Assert false" snippet af "Assert false"
self.assertFalse(${1:condition}) self.assertFalse(${1:condition})
endsnippet endsnippet
snippet nocover "Remove the block from the coverage"
# pragma: no cover
endsnippet

Loading…
Cancel
Save