summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-11-13 08:48:19 -0500
committerScott Moser <smoser@ubuntu.com>2012-11-13 08:48:19 -0500
commitcd8fbfffdf7ba9ba79d39ee7b4a223d1bd7863b4 (patch)
tree57d45de94ed5aeb8a6e03b6fb6366af43ffdd3c6 /upstart
parent8e86b79e8a5ab299ca77ec5e69facb807ede322f (diff)
downloadvyos-cloud-init-cd8fbfffdf7ba9ba79d39ee7b4a223d1bd7863b4.tar.gz
vyos-cloud-init-cd8fbfffdf7ba9ba79d39ee7b4a223d1bd7863b4.zip
replace 'with self.assertRaises(Exception):' with different form
I'm guessing that with self.assertRaises(Exception): something here is an acceptable form in a newer or older python. But my python (2.7.3-0ubuntu7) doesn't like it. Interestingly, python unittest doc says: | Changed in version 2.7: Added the ability to use assertRaises() as | a context manager.
Diffstat (limited to 'upstart')
0 files changed, 0 insertions, 0 deletions