Skip to content

Commit

Permalink
avoid misleading missing=
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Aug 8, 2013
1 parent 513d860 commit b4ba361
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CHANGES.txt
Expand Up @@ -34,8 +34,7 @@ Features
following script, when run would not raise an assertion error::

class What(colander.MappingSchema):
thing = colander.SchemaNode(colander.String(), default=colander.drop,
missing=None)
thing = colander.SchemaNode(colander.String(), default=colander.drop)

result = What().serialize({}) # no "thing" in mapping
assert result == {}
Expand Down

0 comments on commit b4ba361

Please sign in to comment.