diff --git a/tests/test_all_warnings.py b/tests/test_all_warnings.py index 7ef1f210..9b090349 100644 --- a/tests/test_all_warnings.py +++ b/tests/test_all_warnings.py @@ -76,7 +76,7 @@ class TestWarnings(unittest.TestCase): p2.parent.name = "Poppa Wilson" p2.save() - self.assertEqual(len(self.warning_list), 1) + self.assertTrue(len(self.warning_list) > 0) if len(self.warning_list) > 1: print self.warning_list warning = self.warning_list[0]