diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 17:10:22 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 17:10:22 -0700 |
commit | 9019b25497c2b143e06da6a393e24b67bfc848f0 (patch) | |
tree | 35bf9af38e9e6a6bd888119c5c03ead36192ce76 /tests/test_util.py | |
parent | c58a5bd649ebeb0439004daf2cc9f442edeb43e7 (diff) |
Use set literals
Diffstat (limited to 'tests/test_util.py')
-rw-r--r-- | tests/test_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_util.py b/tests/test_util.py index 633c3345..dfb4b466 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -366,7 +366,7 @@ IdentityFile something_%l_using_fqdn def test_get_hostnames(self): f = StringIO(test_config_file) config = paramiko.util.parse_ssh_config(f) - self.assertEqual(config.get_hostnames(), set(['*', '*.example.com', 'spoo.example.com'])) + self.assertEqual(config.get_hostnames(), {'*', '*.example.com', 'spoo.example.com'}) def test_quoted_host_names(self): test_config_file = """\ |