From fed58449231e126ec2bee44d6e529c3c5d1bdc2e Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Mon, 29 Sep 2014 20:45:03 +0200 Subject: [PATCH] Removes a useless line from tests. --- cachalot/tests.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cachalot/tests.py b/cachalot/tests.py index bf2dbc4..52ef564 100644 --- a/cachalot/tests.py +++ b/cachalot/tests.py @@ -1083,7 +1083,6 @@ class AtomicTestCase(TestCase): data2 = list(Test.objects.all()) self.assertListEqual(data2, [t1, t3]) raise ZeroDivisionError - Test.objects.create(name='test4') except ZeroDivisionError: pass data3 = list(Test.objects.all())