summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorOrestis Floros <orestisf1993@gmail.com>2018-03-31 02:33:48 +0300
committerOrestis Floros <orestisf1993@gmail.com>2018-03-31 02:33:48 +0300
commit942f986492f2a77bbac8e8ddfbc4fa480cf1809f (patch)
tree6ca1e067f0e8663e225a8c4a3a9b2def5951324c /numpy/lib/tests/test_function_base.py
parent7fd2a3931021fecd00a8c3d98230c2f2bf78bb46 (diff)
downloadnumpy-942f986492f2a77bbac8e8ddfbc4fa480cf1809f.tar.gz
ENH: datetime64: support AC dates starting with '+'
Numpy allows negatives signs but throws a value error when parsing datetime strings starting with '+': >>> np.datetime64('+1000-01-01T00:00:00Z') ValueError: Error parsing datetime string "+1000-01-01T00:00:00Z" at position 0 Since the default is positive years, we just need to skip the '+' character. Fixes #10810.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions