Skip to content

Commit

Permalink
Fix an nondeterministically failing doctest.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrose committed Feb 27, 2015
1 parent e36550d commit 49ae7f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ data matches:
>>> from schema import Optional
>>> Schema({Optional('color', default='blue'): str,
... str: str}).validate({'texture': 'furry'})
{'color': 'blue', 'texture': 'furry'}
... Optional(str): str}).validate({})
{'color': 'blue'}
Defaults are used verbatim, not passed through any validators specified in the
value.
Expand Down

0 comments on commit 49ae7f0

Please sign in to comment.