mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Adjusted refactoring of vendor checks.
Thanks Shai for the thorough review.
This commit is contained in:
parent
a5de0df58b
commit
fb90b7cda2
6 changed files with 11 additions and 10 deletions
|
@ -57,7 +57,8 @@ class IntrospectionTests(TestCase):
|
|||
self.assertEqual(
|
||||
[datatype(r[1], r) for r in desc],
|
||||
['AutoField' if connection.features.can_introspect_autofield else 'IntegerField',
|
||||
'CharField', 'CharField', 'CharField', 'BigIntegerField',
|
||||
'CharField', 'CharField', 'CharField',
|
||||
'BigIntegerField' if connection.features.can_introspect_big_integer_field else 'IntegerField',
|
||||
'BinaryField' if connection.features.can_introspect_binary_field else 'TextField']
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue