summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/inspectdb/tests.py5
-rw-r--r--tests/introspection/tests.py1
2 files changed, 1 insertions, 5 deletions
diff --git a/tests/inspectdb/tests.py b/tests/inspectdb/tests.py
index 1ec520ace0..794ebc2660 100644
--- a/tests/inspectdb/tests.py
+++ b/tests/inspectdb/tests.py
@@ -104,10 +104,7 @@ class InspectDBTestCase(TestCase):
if 'BooleanField' in null_bool_field_type:
assertFieldType('null_bool_field', "models.{}()".format(null_bool_field_type))
else:
- if connection.features.can_introspect_null:
- assertFieldType('null_bool_field', "models.{}(blank=True, null=True)".format(null_bool_field_type))
- else:
- assertFieldType('null_bool_field', "models.{}()".format(null_bool_field_type))
+ assertFieldType('null_bool_field', "models.{}(blank=True, null=True)".format(null_bool_field_type))
if connection.features.can_introspect_decimal_field:
assertFieldType('decimal_field', "models.DecimalField(max_digits=6, decimal_places=1)")
diff --git a/tests/introspection/tests.py b/tests/introspection/tests.py
index ce102fcdad..ed5556fc20 100644
--- a/tests/introspection/tests.py
+++ b/tests/introspection/tests.py
@@ -92,7 +92,6 @@ class IntrospectionTests(TransactionTestCase):
[30, 30, 254]
)
- @skipUnlessDBFeature('can_introspect_null')
def test_get_table_description_nullable(self):
with connection.cursor() as cursor:
desc = connection.introspection.get_table_description(cursor, Reporter._meta.db_table)