From: Rob Golding Date: Mon, 26 Feb 2018 11:57:13 +0000 (+0000) Subject: Merge pull request #54 from nesaro/removes_warning X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/f24e18261a3d19b01bca32d5471b84729ec9efa9?hp=71021035d292d8bc6c772b9191d4c16efcd9b07e Merge pull request #54 from nesaro/removes_warning removes test warning --- diff --git a/tasklib/tests.py b/tasklib/tests.py index e651c1f..d53fc31 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -457,24 +457,24 @@ class TaskTest(TasklibTest): t = Task(self.tw, description='test') t.save() - self.assertEquals(t['description'], 'test') + self.assertEqual(t['description'], 'test') t['description'] = 'test-modified' t.save() - self.assertEquals(t['description'], 'test-modified') + self.assertEqual(t['description'], 'test-modified') def test_modify_simple_attribute_with_space(self): # Space can pose problems with parsing t = Task(self.tw, description='test task') t.save() - self.assertEquals(t['description'], 'test task') + self.assertEqual(t['description'], 'test task') t['description'] = 'test task modified' t.save() - self.assertEquals(t['description'], 'test task modified') + self.assertEqual(t['description'], 'test task modified') def test_empty_dependency_set_of_unsaved_task(self): t = Task(self.tw, description='test task')