fix assertRaises for precise env

This commit is contained in:
Konstantin Lopuhin 2016-02-15 19:26:15 +03:00
parent 08bc41cc68
commit 77ebb13684
1 changed files with 2 additions and 2 deletions

View File

@ -490,8 +490,8 @@ class S3TestCase(unittest.TestCase):
yield
def test_extra_kw(self):
with self.assertRaises(TypeError):
S3DownloadHandler(Settings(), extra_kw=True)
self.assertRaises(
TypeError, S3DownloadHandler, Settings(), extra_kw=True)
def test_request_signing1(self):
# gets an object from the johnsmith bucket.