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

6 lines
120 B
Plaintext

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