Skip to content

Commit

Permalink
tests: adjust joinp asofby test to reflect Polars py-1.20.0 behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Jan 16, 2025
1 parent 8c06f80 commit 853a266
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions tests/test_joinp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -951,15 +951,7 @@ fn joinp_asofby_1() {
"groups_numeric_right",
"bid_right"
],
svec![
"2016-01-01 12:23",
"MSFT",
"1",
"51.95",
"MSFT",
"1",
"51.95"
],
svec!["2016-01-01 12:23", "MSFT", "1", "51.95", "", "", ""],
svec![
"2016-01-01 12:38",
"MSFT",
Expand All @@ -974,27 +966,27 @@ fn joinp_asofby_1() {
"GOOG",
"2",
"720.77",
"GOOG",
"2",
"720.5"
"MSFT",
"1",
"51.99"
],
svec![
"2016-01-01 12:48",
"GOOG",
"2",
"720.92",
"GOOG",
"2",
"720.5"
"MSFT",
"1",
"51.99"
],
svec![
"2016-01-01 12:48",
"AAPL",
"3",
"98.0",
"GOOG",
"2",
"720.5"
"MSFT",
"1",
"51.99"
],
];
assert_eq!(got, expected);
Expand Down

0 comments on commit 853a266

Please sign in to comment.