diff options
author | Hugo <hugovk@users.noreply.github.com> | 2018-03-18 20:03:02 +0200 |
---|---|---|
committer | Hugo <hugovk@users.noreply.github.com> | 2018-03-18 22:26:30 +0200 |
commit | 14582df679a011e8c741eb5dcd8126f883e1bc71 (patch) | |
tree | 3739015c0a76d9a3599a770888cb3bde4640f702 /git/test/test_git.py | |
parent | 929f3e1e1b664ed8cdef90a40c96804edfd08d59 (diff) | |
download | gitpython-14582df679a011e8c741eb5dcd8126f883e1bc71.tar.gz |
Replace function call with set literal
Diffstat (limited to 'git/test/test_git.py')
-rw-r--r-- | git/test/test_git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py index 059f90c0..c6180f7c 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -91,7 +91,7 @@ class TestGit(TestBase): # order is undefined res = self.git.transform_kwargs(**{'s': True, 't': True}) - self.assertEqual(set(['-s', '-t']), set(res)) + self.assertEqual({'-s', '-t'}, set(res)) def test_it_executes_git_to_shell_and_returns_result(self): assert_match(r'^git version [\d\.]{2}.*$', self.git.execute(["git", "version"])) |