Skip to content

Commit 35cccd6

Browse files
committed
UPD: explicit is better than implicit
1 parent 7569a31 commit 35cccd6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pandas/tests/plotting/test_hist_method.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,14 @@ def test_hist_non_numerical_or_datetime_raises(self):
232232
"a": np.random.rand(10),
233233
"b": np.random.rand(10),
234234
"c": to_datetime(
235-
np.random.randint(1582800000000000000, 1583500000000000000, 10)
235+
np.random.randint(
236+
1582800000000000000, 1583500000000000000, 10, dtype=np.int64
237+
)
236238
),
237239
"d": to_datetime(
238-
np.random.randint(1582800000000000000, 1583500000000000000, 10)
240+
np.random.randint(
241+
1582800000000000000, 1583500000000000000, 10, dtype=np.int64
242+
)
239243
),
240244
}
241245
)

0 commit comments

Comments
 (0)