diff options
| author | Tim Graham <timograham@gmail.com> | 2015-06-15 10:37:14 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-15 13:01:41 -0400 |
| commit | 062ce508b0edcb3a2e801d7959e08207bd8d2a1e (patch) | |
| tree | cde48b14db8ce70cdfb73e787f6c28aaa8bee1a9 /tests/model_fields | |
| parent | 53323a5c23231501a840deb8d2296b0508405d4d (diff) | |
[1.8.x] Fixed flake8 warnings on Python 3.
Backport of 47fcbe506c04019a12e16221843e25a52249b1ab from master
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py index e04c518a93..9fe905dfc1 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -711,10 +711,11 @@ class PromiseTest(test.TestCase): @unittest.skipIf(six.PY3, "Python 3 has no `long` type.") def test_BigIntegerField(self): - lazy_func = lazy(lambda: long(9999999999999999999), long) + # NOQA: long undefined on PY3 + lazy_func = lazy(lambda: long(9999999999999999999), long) # NOQA self.assertIsInstance( BigIntegerField().get_prep_value(lazy_func()), - long) + long) # NOQA def test_BinaryField(self): lazy_func = lazy(lambda: b'', bytes) |
