summaryrefslogtreecommitdiff
path: root/git/test/test_repo.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_repo.py
parent929f3e1e1b664ed8cdef90a40c96804edfd08d59 (diff)
downloadgitpython-14582df679a011e8c741eb5dcd8126f883e1bc71.tar.gz
Replace function call with set literal
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index 6985f254..97eac4ae 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -515,7 +515,7 @@ class TestRepo(TestBase):
# this is only a preliminary test, more testing done in test_index
self.assertEqual(self.rorepo, self.rorepo)
self.assertFalse(self.rorepo != self.rorepo)
- self.assertEqual(len(set((self.rorepo, self.rorepo))), 1)
+ self.assertEqual(len({self.rorepo, self.rorepo}), 1)
@with_rw_directory
def test_tilde_and_env_vars_in_repo_path(self, rw_dir):