Skip to content

Commit

Permalink
Delete useless assert
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrjakimiak committed Sep 5, 2014
1 parent c3b841a commit cb3cc00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,6 @@ def test_none_serializing(self):
class CharFieldSerializer(serializers.Serializer):
char = serializers.CharField(allow_none=True, required=False)
serializer = CharFieldSerializer(data={'char': None})
self.assertTrue(serializer.fields['char'].allow_none)
self.assertTrue(serializer.is_valid())
self.assertIsNone(serializer.object['char'])

Expand Down

0 comments on commit cb3cc00

Please sign in to comment.