mirror of https://github.com/scrapy/scrapy.git
fix assertRaises for precise env
This commit is contained in:
parent
08bc41cc68
commit
77ebb13684
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue