diff options
| author | Tim Graham <timograham@gmail.com> | 2015-06-15 10:37:14 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-15 11:27:09 -0400 |
| commit | 47fcbe506c04019a12e16221843e25a52249b1ab (patch) | |
| tree | 0ad523fef8859042a09b3de8dc3977ae48c23701 /tests/model_fields | |
| parent | ccfb5c74083ac565c66a2d0cfe11e60e7d1c8337 (diff) | |
Fixed flake8 warnings on Python 3.
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 939ba269d8..353c15f491 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -797,10 +797,11 @@ class PromiseTest(test.SimpleTestCase): @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) |
