#31765: schema.tests.SchemaTests.test_db_table fails on MacOS
-----------------------------------------+------------------------
               Reporter:  Tom Forbes     |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  Uncategorized  |        Version:  master
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 I can reproduce this failure on master with the latest Python 3.7 and 3.8,
 with sqlite3 version `3.28.0`:

 {{{
 ======================================================================
 FAIL: test_db_table (schema.tests.SchemaTests)
 Tests renaming of the table
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/Users/tom/PycharmProjects/github/orf/django/django/test/utils.py", line
 381, in inner
     return func(*args, **kwargs)
   File
 "/Users/tom/PycharmProjects/github/orf/django/tests/schema/tests.py", line
 2280, in test_db_table
     self.assertForeignKeyExists(Book, "author_id", "schema_otherauthor")
   File
 "/Users/tom/PycharmProjects/github/orf/django/tests/schema/tests.py", line
 201, in assertForeignKeyExists
     self.assertEqual(constraint_fk, (expected_fk_table, field))
 AssertionError: Tuples differ: ('schema_author', 'id') !=
 ('schema_otherauthor', 'id')

 First differing element 0:
 'schema_author'
 'schema_otherauthor'

 - ('schema_author', 'id')
 + ('schema_otherauthor', 'id')
 ?          +++++

 ----------------------------------------------------------------------
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31765>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/046.eca4959d4a3b1f087876d071b46347b7%40djangoproject.com.

Reply via email to