diff options
| author | Tim Graham <timograham@gmail.com> | 2014-10-28 10:12:10 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-10-28 10:12:10 -0400 |
| commit | 1e64a1e7b11490b203f4f12b41da63a3e2d4e410 (patch) | |
| tree | 41ccdce83d37cc6fd688a83afa7dddbd33a16bf1 /tests | |
| parent | 28634394f53b9ab27d3419cfde047ee78e491d97 (diff) | |
Fixed flake8 warnings.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/custom_lookups/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/custom_lookups/tests.py b/tests/custom_lookups/tests.py index d0f18c5d7b..f673e78b72 100644 --- a/tests/custom_lookups/tests.py +++ b/tests/custom_lookups/tests.py @@ -37,6 +37,7 @@ class Div3Transform(models.Transform): lhs, lhs_params = qn.compile(self.lhs) return 'mod(%s, 3)' % lhs, lhs_params + class Div3BilateralTransform(Div3Transform): bilateral = True @@ -49,6 +50,7 @@ class Mult3BilateralTransform(models.Transform): lhs, lhs_params = qn.compile(self.lhs) return '3 * (%s)' % lhs, lhs_params + class UpperBilateralTransform(models.Transform): bilateral = True lookup_name = 'upper' |
