Register type equality checks for Q and F objects.

Review Request #12039 — Created Feb. 4, 2022 and submitted

chipx86
Django Evolution
release-2.x
django-evolution

TestCase now registers the existing assertQEqual() and a new
assertFEqual() for comparing Q and F objects. This enables
comparison without having to explicitly call those helper methods. This
simplifies unit testing and reduces the chances of issues on different
versions of Django.

Unit tests pass for all supported versions of Python and Django.

Summary
Register type equality checks for Q and F objects.
Description From Last Updated

F821 undefined name 'f1'

reviewbotreviewbot

F821 undefined name 'f2'

reviewbotreviewbot

F821 undefined name 'f1'

reviewbotreviewbot

F821 undefined name 'f2'

reviewbotreviewbot

F821 undefined name 'f1'

reviewbotreviewbot

F821 undefined name 'f2'

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.x (2c54d98)
Loading...