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 ine9bbdb39de. Obsolete sincee9103402c0.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user