diff options
| author | Simon Charette <charette.s@gmail.com> | 2023-12-16 14:05:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-16 20:05:36 +0100 |
| commit | eea4f92f9aa57d1b25f1c28d11c3b5a6a5841e82 (patch) | |
| tree | d630a8e4e45c6e6da3619b5150fd77d5f357db71 /tests/queries | |
| parent | c83c639ba0c67dbb0f627be3df29d1224ea92d2b (diff) | |
Refs #34013 -- Registered instance lookups as documented in tests.
Diffstat (limited to 'tests/queries')
| -rw-r--r-- | tests/queries/test_qs_combinators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/queries/test_qs_combinators.py b/tests/queries/test_qs_combinators.py index cb5ba1a269..4c2dbc5b17 100644 --- a/tests/queries/test_qs_combinators.py +++ b/tests/queries/test_qs_combinators.py @@ -337,7 +337,7 @@ class QuerySetSetOperationTests(TestCase): super().__init__(expr, 2) output_field = IntegerField() - output_field.register_instance_lookup(Mod2, "mod2") + output_field.register_lookup(Mod2, "mod2") qs1 = Number.objects.annotate( annotation=Value(1, output_field=output_field), ) |
