Skip to content

Commit

Permalink
I didn't expected to have flake8 error on _ variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Cediddi committed May 26, 2017
1 parent c62822f commit e18bcda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class ASerializer(Serializer):
o = Obj(a=None)

with self.assertRaises(TypeError) as c:
_ = ASerializer(o).data
ASerializer(o).data

self.assertIn("// Error at ASerializer.a", c.exception.args[0])

Expand Down

0 comments on commit e18bcda

Please sign in to comment.