I've added code with this fix, and test for it
--
Ticket URL: <https://code.djangoproject.com/ticket/32139>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* type: Uncategorized => Cleanup/optimization
Old description:
> https://github.com/django/django/pull/13492
>
> I've added code with this fix, and test for it
New description:
https://github.com/django/django/pull/13597
I've added code with this fix, and test for it
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32139#comment:2>
* status: new => closed
* resolution: => worksforme
Comment:
Hi Mikhail, thanks for this contribution, but the test you submitted
passes without your patch. Further, I don't see how your patch would
execute since `if option in options` raises an exception a few lines
above. Finally, and for the same reason, I don't think the test you
provided meaningfully increases coverage since there are test methods
`test_variable_twice()` and `test_syntax_error_duplicate_option()` that
already test this.
--
Ticket URL: <https://code.djangoproject.com/ticket/32139#comment:3>
Old description:
> https://github.com/django/django/pull/13597
>
> I've added code with this fix, and test for it
New description:
V
--
Comment (by Mikhail Fesenko):
Wow, I made a mistake =(
Idk why, when I did this patch, I thought that if option in options: was
only for 'with' param, idk why
--
Ticket URL: <https://code.djangoproject.com/ticket/32139#comment:4>
Old description:
> V
New description:
https://github.com/django/django/pull/13597
I've added code with this fix, and test for it
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32139#comment:5>