Skip to content

Commit

Permalink
Don't use * for left assignment value
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkels committed Apr 13, 2016
1 parent 53dc0c0 commit 38c5f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_multiple_exceptions(self):
class raise_exceptions(DefaultSerializer):

def serialize_many(self, instances, *args, **kw):
instance1, instance2, *rest = instances
instance1, instance2 = instances[:2]
exception1 = SerializationException(instance1, message='foo')
exception2 = SerializationException(instance2, message='bar')
exceptions = [exception1, exception2]
Expand Down

0 comments on commit 38c5f08

Please sign in to comment.