From 3015fd0216408ba94a74e7d8195e4870fd66f189 Mon Sep 17 00:00:00 2001 From: Joseph Lawson Date: Thu, 23 Oct 2014 22:21:00 -0400 Subject: [PATCH] python 2.6 assert_raises --- tests/test_cloudformation/test_cloudformation_stack_crud.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_cloudformation/test_cloudformation_stack_crud.py b/tests/test_cloudformation/test_cloudformation_stack_crud.py index 808e65aa9..8cdbf96e6 100644 --- a/tests/test_cloudformation/test_cloudformation_stack_crud.py +++ b/tests/test_cloudformation/test_cloudformation_stack_crud.py @@ -1,8 +1,9 @@ from __future__ import unicode_literals import json - import boto import sure # noqa +# Ensure 'assert_raises' context manager support for Python 2.6 +import tests.backport_assert_raises from nose.tools import assert_raises from moto import mock_cloudformation