1. Luke Plant
  2. south

Commits

Andrew Godwin  committed 0e33564

Fix #398 (warning printed during test)

  • Participants
  • Parent commits a0a316e
  • Branches default

Comments (0)

Files changed (1)

File south/tests/db.py

View file
         db.delete_index("test3", ["SELECT"])
         db.delete_index("test3", ["SELECT", "eggs"])
         # Delete the unique index/constraint
-        db.delete_unique("test3", ["eggs"])
+        if db.backend_name != "sqlite3":
+            db.delete_unique("test3", ["eggs"])
         db.delete_table("test3")
     
     def test_primary_key(self):