Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Sep 22, 2023
1 parent 8874f3b commit 7ea687e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python_package_test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ def test_dataset_construction_overwrites_user_provided_metadata_fields():
expected_position = np.array([0.0, 1.0], dtype=np.float32)
np.testing.assert_array_equal(dtrain.position, expected_position, strict=True)
np.testing.assert_array_equal(dtrain.get_position(), expected_position, strict=True)
# NOTE: "position" is converted to int32 on thhe C++ side
# NOTE: "position" is converted to int32 on the C++ side
np.testing.assert_array_equal(
dtrain.get_field("position"),
np.array([0.0, 1.0], dtype=np.int32),
Expand Down

0 comments on commit 7ea687e

Please sign in to comment.