提交 77ebb136 编写于 作者: K Konstantin Lopuhin

fix assertRaises for precise env

上级 08bc41cc
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册