summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorJonathan Helmus <jjhelmus@gmail.com>2017-03-30 12:43:35 -0500
committerJonathan Helmus <jjhelmus@gmail.com>2017-03-30 12:43:35 -0500
commit0724f58bf999f844930a0b49dba449e0f12e5bd6 (patch)
tree284d0287fb2e4df34b1b597047750b4847fc406b /numpy/core/fromnumeric.py
parentee6780faf1308f2e0e8cb056f5a4ad5c89aaf191 (diff)
downloadnumpy-0724f58bf999f844930a0b49dba449e0f12e5bd6.tar.gz
TST: Use explicit NaT in test_structure_format
Using np.nan to fill a datetime64 array with NaT depends on the undefined behavior of a float64 to int64 cast, which may have different behaviors on non-x64 platforms. See #8325. For this reason np.datetime64('NaT') should be used fill or set datetime64 arrays with NaT.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions