From 14582df679a011e8c741eb5dcd8126f883e1bc71 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 18 Mar 2018 20:03:02 +0200 Subject: Replace function call with set literal --- git/test/test_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/test_index.py') diff --git a/git/test/test_index.py b/git/test/test_index.py index 73123d6b..ec3c59df 100644 --- a/git/test/test_index.py +++ b/git/test/test_index.py @@ -226,7 +226,7 @@ class TestIndex(TestBase): def test_index_merge_tree(self, rw_repo): # A bit out of place, but we need a different repo for this: self.assertNotEqual(self.rorepo, rw_repo) - self.assertEqual(len(set((self.rorepo, self.rorepo, rw_repo, rw_repo))), 2) + self.assertEqual(len({self.rorepo, self.rorepo, rw_repo, rw_repo}), 2) # SINGLE TREE MERGE # current index is at the (virtual) cur_commit -- cgit v1.2.1