Skip to content

Commit 8cad1a6

Browse files
committed
Keep flake happy on int/long test code
1 parent 3b9cb96 commit 8cad1a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_sendgrid_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin
2222

2323
# noinspection PyUnresolvedReferences
24-
longtype = int if six.PY3 else long
24+
longtype = int if six.PY3 else long # NOQA: F821
2525

2626

2727
@override_settings(EMAIL_BACKEND='anymail.backends.sendgrid.EmailBackend',

tests/test_sendgrid_v2_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin
2222

2323
# noinspection PyUnresolvedReferences
24-
longtype = int if six.PY3 else long
24+
longtype = int if six.PY3 else long # NOQA: F821
2525

2626

2727
@override_settings(EMAIL_BACKEND='anymail.backends.sendgrid_v2.EmailBackend',

0 commit comments

Comments
 (0)