summaryrefslogtreecommitdiff
path: root/git/test/test_index.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-03-18 20:03:02 +0200
committerHugo <hugovk@users.noreply.github.com>2018-03-18 22:26:30 +0200
commit14582df679a011e8c741eb5dcd8126f883e1bc71 (patch)
tree3739015c0a76d9a3599a770888cb3bde4640f702 /git/test/test_index.py
parent929f3e1e1b664ed8cdef90a40c96804edfd08d59 (diff)
downloadgitpython-14582df679a011e8c741eb5dcd8126f883e1bc71.tar.gz
Replace function call with set literal
Diffstat (limited to 'git/test/test_index.py')
-rw-r--r--git/test/test_index.py2
1 files changed, 1 insertions, 1 deletions
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