Skip to content

Commit 62a5171

Browse files
committed
Merge pull request scrapy#1801 from redapple/botocore-notconfigured-exception
Fix SkipTest() message for botocore import test
2 parents 2969e34 + ad4c116 commit 62a5171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapy/utils/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def skip_if_no_boto():
2424
try:
2525
is_botocore()
2626
except NotConfigured as e:
27-
raise SkipTest(e.message)
27+
raise SkipTest(e)
2828

2929
def get_s3_content_and_delete(bucket, path, with_key=False):
3030
""" Get content from s3 key, and delete key afterwards.

0 commit comments

Comments
 (0)