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/basic | |
| parent | caf5cd7ba7c9d73194e394a26c81f1a677d54a6c (diff) | |
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
Thanks Collin Anderson for the review.
Diffstat (limited to 'tests/basic')
| -rw-r--r-- | tests/basic/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py index 356551cc52..3dc3c3ba56 100644 --- a/tests/basic/tests.py +++ b/tests/basic/tests.py @@ -429,7 +429,7 @@ class ModelTest(TestCase): pub_date=datetime(2008, 12, 31, 23, 59, 59, 999999), ) - s = set([a10, a11, a12]) + s = {a10, a11, a12} self.assertTrue(Article.objects.get(headline='Article 11') in s) def test_field_ordering(self): |
