File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 88try :
99 from unittest .mock import patch
1010except ImportError :
11- from mock import patch # Python 2
11+ # NOTE: Python 2 dependency
12+ from mock import patch
1213
1314from aiohttp import web
1415from aiohttp .web_exceptions import HTTPUnauthorized
Original file line number Diff line number Diff line change 11try :
22 from unittest import mock
33except ImportError :
4- import mock # Python 2
4+ # NOTE: Python 2 dependency
5+ import mock
56
67import django
78from aws_xray_sdk import global_sdk_config
Original file line number Diff line number Diff line change 22try :
33 from unittest .mock import patch
44except ImportError :
5- from mock import patch # Python 2
5+ # NOTE: Python 2 dependency
6+ from mock import patch
67
78supported_plugins = (
89 'ec2_plugin' ,
You can’t perform that action at this time.
0 commit comments