diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-12-28 21:07:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-28 21:07:29 +0100 |
commit | 83a36ac49a98d5d8801ed8428612e9a56aeb8699 (patch) | |
tree | 192e9bb3f114dad49ffacb17d51a8ecc9faed797 /tests/m2m_through | |
parent | 058d112ed2635873d415661bdf0fcc8752ec37c9 (diff) | |
download | django-83a36ac49a98d5d8801ed8428612e9a56aeb8699.tar.gz |
Removed unnecessary trailing commas and spaces in various code.
Diffstat (limited to 'tests/m2m_through')
-rw-r--r-- | tests/m2m_through/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/m2m_through/tests.py b/tests/m2m_through/tests.py index 5be6ef72d0..930f5e848c 100644 --- a/tests/m2m_through/tests.py +++ b/tests/m2m_through/tests.py @@ -87,7 +87,7 @@ class M2mThroughTests(TestCase): self.assertQuerysetEqual( self.rock.members.all(), - ['Jim', ], + ['Jim'], attrgetter("name") ) @@ -156,7 +156,7 @@ class M2mThroughTests(TestCase): self.assertQuerysetEqual( self.bob.group_set.all(), - ['Rock', ], + ['Rock'], attrgetter('name') ) @@ -192,7 +192,7 @@ class M2mThroughTests(TestCase): self.assertQuerysetEqual( Group.objects.filter(members__name='Bob'), - ['Roll', ], + ['Roll'], attrgetter("name") ) |