1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed obsolete assertions in BooleanFieldTests.test_return_type().

Added in e9bbdb39de.
Obsolete since e9103402c0.
This commit is contained in:
Mariusz Felisiak
2022-06-03 21:28:46 +02:00
committed by GitHub
parent 00639dbd6d
commit aaf00450d2
2 changed files with 0 additions and 6 deletions

View File

@@ -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.