Skip to content

Commit

Permalink
Keep flake happy on int/long test code
Browse files Browse the repository at this point in the history
  • Loading branch information
medmunds committed Sep 14, 2017
1 parent 3b9cb96 commit 8cad1a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_sendgrid_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin

# noinspection PyUnresolvedReferences
longtype = int if six.PY3 else long
longtype = int if six.PY3 else long # NOQA: F821


@override_settings(EMAIL_BACKEND='anymail.backends.sendgrid.EmailBackend',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sendgrid_v2_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin

# noinspection PyUnresolvedReferences
longtype = int if six.PY3 else long
longtype = int if six.PY3 else long # NOQA: F821


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

0 comments on commit 8cad1a6

Please sign in to comment.