Skip to content

Commit 9da67b6

Browse files
Comment style tweak
1 parent fd8e6e9 commit 9da67b6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

tests/ext/aiohttp/test_middleware.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
try:
99
from unittest.mock import patch
1010
except ImportError:
11-
from mock import patch # Python 2
11+
# NOTE: Python 2 dependency
12+
from mock import patch
1213

1314
from aiohttp import web
1415
from aiohttp.web_exceptions import HTTPUnauthorized

tests/ext/django/test_settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
try:
22
from unittest import mock
33
except ImportError:
4-
import mock # Python 2
4+
# NOTE: Python 2 dependency
5+
import mock
56

67
import django
78
from aws_xray_sdk import global_sdk_config

tests/test_plugins.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
try:
33
from unittest.mock import patch
44
except ImportError:
5-
from mock import patch # Python 2
5+
# NOTE: Python 2 dependency
6+
from mock import patch
67

78
supported_plugins = (
89
'ec2_plugin',

0 commit comments

Comments
 (0)