소스 검색

[3.1] Attempt to fix build

Ask Solem 9 년 전
부모
커밋
b642dd287f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      celery/tests/utils/test_timer2.py

+ 2 - 2
celery/tests/utils/test_timer2.py

@@ -25,7 +25,7 @@ class test_Entry(Case):
     def test_cancel(self):
         tref = timer2.Entry(lambda x: x, (1, ), {})
         tref.cancel()
-        self.assertTrue(tref.canceled)
+        self.assertTrue(tref.cancelled)
 
     def test_repr(self):
         tref = timer2.Entry(lambda x: x(1, ), {})
@@ -118,7 +118,7 @@ class test_Timer(Case):
             args2, _ = t.schedule.enter_after.call_args_list[1]
             sec2, tref2, _ = args2
             self.assertEqual(sec2, 0.03)
-            tref2.canceled = True
+            tref2.cancelled = True
             tref2()
 
             self.assertEqual(t.schedule.enter_after.call_count, 2)