dotfiles/.emacs.d/snippets/python-mode/assertRaises

6 lines
120 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: assertRaises
# key: ar
# group: testing
# --
self.assertRaises(${1:Exception}, ${2:fun})