New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different deserialization for Date fields #79

malexer opened this Issue Dec 4, 2014 · 1 comment


None yet
2 participants

malexer commented Dec 4, 2014

There is a different deserialization of Date fields.

In case when "python-dateutil" is installed it returns "" - CORRECT
In case when "python-dateutil" is not installed it returns "datetime.datetime" - WRONG

malexer added a commit to malexer/marshmallow that referenced this issue Dec 4, 2014

@sloria sloria closed this in #80 Dec 6, 2014

sloria added a commit that referenced this issue Dec 6, 2014

Use more direct type checking in tests
The tests did not catch #79 because datetimes are an instance
of ``. From now on, use:
    assert type(obj) == expected_type

This comment has been minimized.


sloria commented Dec 6, 2014


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment