Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd70dc72

Browse files
committed
Fix test to work with numpy 1.10.0
1 parent74eed45 commitd70dc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_date2num_NaT(dtype):
7373

7474

7575
deftest_date2num_NaT_scalar():
76-
tmpl=mdates.date2num(np.datetime64('NaT'))
76+
tmpl=mdates.date2num(np.datetime64('NaT','us'))
7777
assertnp.isnan(tmpl)
7878

7979

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp