Commits

Andrew Godwin  committed 698311f

Fix list comparison failing under new unittest

  • Participants
  • Parent commits 945b098

Comments (0)

Files changed (1)

File south/tests/logic.py

     
     installed_apps = ["fakeapp", "otherfakeapp"]
 
-    def assertListEqual(self, list1, list2):
+    def assertListEqual(self, list1, list2, msg=None):
         list1 = list(list1)
         list2 = list(list2)
         list1.sort()
         list2.sort()
-        return self.assertEqual(list1, list2)
+        return self.assert_(list1 == list2, "%s is not equal to %s" % (list1, list2))
 
     def test_find_ghost_migrations(self):
         pass