diff options
| author | Thomas Chaumeny <thomas.chaumeny@polyconseil.fr> | 2014-09-26 14:31:50 +0200 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@gmail.com> | 2014-09-29 00:01:38 +0700 |
| commit | b2aad7b836bfde012756cca69291c14d2fdbd334 (patch) | |
| tree | 53c93f9804075ed347d6d83718d37f7dc2a06340 /tests/test_client_regress | |
| parent | caf5cd7ba7c9d73194e394a26c81f1a677d54a6c (diff) | |
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
Thanks Collin Anderson for the review.
Diffstat (limited to 'tests/test_client_regress')
| -rw-r--r-- | tests/test_client_regress/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client_regress/tests.py b/tests/test_client_regress/tests.py index 71f6d18f24..07bfb91783 100644 --- a/tests/test_client_regress/tests.py +++ b/tests/test_client_regress/tests.py @@ -993,8 +993,8 @@ class ContextTests(TestCase): l = ContextList([c1, c2]) # None, True and False are builtins of BaseContext, and present # in every Context without needing to be added. - self.assertEqual(set(['None', 'True', 'False', 'hello', 'goodbye', - 'python', 'dolly']), + self.assertEqual({'None', 'True', 'False', 'hello', 'goodbye', + 'python', 'dolly'}, l.keys()) def test_15368(self): |
