Dataset Viewer
Auto-converted to Parquet Duplicate
repo
string
instance_id
string
base_commit
string
patch
string
test_patch
string
problem_statement
string
hints_text
string
created_at
timestamp[s]
version
string
FAIL_TO_PASS
string
PASS_TO_PASS
string
environment_setup_commit
string
marshmallow-code/marshmallow
marshmallow-code__marshmallow-1252
b063a103ae5222a5953cd7453a1eb0d161dc5b52
diff --git a/src/marshmallow/utils.py b/src/marshmallow/utils.py --- a/src/marshmallow/utils.py +++ b/src/marshmallow/utils.py @@ -285,6 +285,9 @@ def from_iso(datestring, use_dateutil=True): # Strip off timezone info. if '.' in datestring: # datestring contains microseconds + ...
diff --git a/tests/test_utils.py b/tests/test_utils.py --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -200,6 +200,15 @@ def test_from_iso_datetime(use_dateutil, timezone): assert type(result) == dt.datetime assert_datetime_equal(result, d) + # Test with 3-digit only microseconds + # Regression...
ISO8601 DateTimes ending with Z considered not valid in 2.19.4 Probably related to #1247 and #1234 - in marshmallow `2.19.4`, with `python-dateutil` _not_ installed, it seems that loading a datetime in ISO8601 that ends in `Z` (UTC time) results in an error: ```python class Foo(Schema): date = DateTime(require...
@lafrech Would you mind looking into this? Thanks for reporting. This is definitely a side effect of https://github.com/marshmallow-code/marshmallow/pull/1249/files. Sorry about that. I don't own a copy of the spec, so the work on this is based on examples... I assumed that microseconds always came as a six-pack....
2019-06-17T13:44:50
2.19
["tests/test_utils.py::test_from_iso_datetime[timezone1-False]"]
["tests/test_utils.py::test_missing_singleton_copy", "tests/test_utils.py::test_to_marshallable_type", "tests/test_utils.py::test_to_marshallable_type_none", "tests/test_utils.py::test_to_marshallable_type_with_namedtuple", "tests/test_utils.py::test_get_value_from_object[obj0]", "tests/test_utils.py::test_get_value_fr...
dd72a797ceeea63ee04d5e1838c3a5a1432347e3
README.md exists but content is empty.
Downloads last month
5