summaryrefslogtreecommitdiff
path: root/tests/introspection/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-30 14:34:45 -0400
committerTim Graham <timograham@gmail.com>2014-07-04 14:15:00 -0400
commit7fd55c3481a004afb049e15ae3b8c93ce8bf0603 (patch)
treea77d290416d7d4cd1eebd437d6b2a9f7097ad45e /tests/introspection/tests.py
parent1966054febbb96b713db27513617eabdbd70957b (diff)
downloaddjango-7fd55c3481a004afb049e15ae3b8c93ce8bf0603.tar.gz
Fixed #20631 -- Increased the default EmailField max_length to 254.
Thanks pmartin for the report.
Diffstat (limited to 'tests/introspection/tests.py')
-rw-r--r--tests/introspection/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/introspection/tests.py b/tests/introspection/tests.py
index 03962b33bf..d04fa0a6d1 100644
--- a/tests/introspection/tests.py
+++ b/tests/introspection/tests.py
@@ -70,7 +70,7 @@ class IntrospectionTests(TestCase):
desc = connection.introspection.get_table_description(cursor, Reporter._meta.db_table)
self.assertEqual(
[r[3] for r in desc if datatype(r[1], r) == 'CharField'],
- [30, 30, 75]
+ [30, 30, 254]
)
@skipUnlessDBFeature('can_introspect_null')