mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Removed obsolete assertions in BooleanFieldTests.test_return_type().
Added ine9bbdb39de. Obsolete sincee9103402c0.
This commit is contained in:
parent
00639dbd6d
commit
aaf00450d2
2 changed files with 0 additions and 6 deletions
|
|
@ -71,11 +71,6 @@ class BooleanFieldTests(TestCase):
|
|||
b4.refresh_from_db()
|
||||
self.assertIs(b4.nbfield, False)
|
||||
|
||||
# When an extra clause exists, the boolean conversions are applied with
|
||||
# an offset (#13293).
|
||||
b5 = BooleanModel.objects.extra(select={"string_col": "string"})[0]
|
||||
self.assertNotIsInstance(b5.pk, bool)
|
||||
|
||||
def test_select_related(self):
|
||||
"""
|
||||
Boolean fields retrieved via select_related() should return booleans.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue