Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Keith Kraus <[email protected]>
  • Loading branch information
galipremsagar and Keith Kraus authored Mar 1, 2021
1 parent 098e4a7 commit f203cb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/cudf/cudf/tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ def test_dataframe_concat_different_numerical_columns(dtype1, dtype2):


def test_dataframe_concat_different_column_types():
df1 = cudf.Series([42], dtype=float)
df1 = cudf.Series([42], dtype=np.float64)
df2 = cudf.Series(["a"], dtype="category")
with pytest.raises(ValueError):
cudf.concat([df1, df2])
Expand Down
8 changes: 4 additions & 4 deletions python/cudf/cudf/tests/test_joining.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,17 +821,17 @@ def test_join_empty_table_dtype():
"column_a",
[
(
pd.Series([None, 1, 2, 3, 4, 5, 6, 7], dtype=np.float_),
pd.Series([8, 9, 10, 11, 12, None, 14, 15], dtype=np.float_),
pd.Series([None, 1, 2, 3, 4, 5, 6, 7], dtype=np.float64),
pd.Series([8, 9, 10, 11, 12, None, 14, 15], dtype=np.float64),
)
],
)
@pytest.mark.parametrize(
"column_b",
[
(
pd.Series([0, 1, 0, None, 1, 0, 0, 0], dtype=np.float_),
pd.Series([None, 1, 2, 1, 2, 2, 0, 0], dtype=np.float_),
pd.Series([0, 1, 0, None, 1, 0, 0, 0], dtype=np.float64),
pd.Series([None, 1, 2, 1, 2, 2, 0, 0], dtype=np.float64),
)
],
)
Expand Down

0 comments on commit f203cb2

Please sign in to comment.