my-emacs-d/elpa/yasnippet-20160924.2001/snippets/python-mode/assertRaises

6 lines
120 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: assertRaises
# key: ar
# group: testing
# --
self.assertRaises(${1:Exception}, ${2:fun})