Avoid warning in np primitive type tests. (#7833)

This commit is contained in:
Jiaming Yuan
2022-04-23 02:07:01 +08:00
committed by GitHub
parent c45665a55a
commit 332380479b
3 changed files with 9 additions and 5 deletions

View File

@@ -328,5 +328,5 @@ class TestPandas:
return to_bytes(Xy)
b0 = test_bool(pd.BooleanDtype())
b1 = test_bool(np.bool)
b1 = test_bool(bool)
assert b0 != b1 # None is converted to False with np.bool