Skip to content

Commit

Permalink
import boto when python<=311
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpei-ukita committed Dec 20, 2023
1 parent 62b0e52 commit 0369cfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/contrib/s3_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
import tempfile

import boto3
from boto.s3 import key
if sys.version_info[:2] <= (3, 11):
from boto.s3 import key
from botocore.exceptions import ClientError
from mock import patch

Expand Down

0 comments on commit 0369cfb

Please sign in to comment.