Skip to content

Commit

Permalink
attempt to fix failing test due to randomness (#2518)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisbader authored Sep 2, 2024
1 parent ed925c7 commit 3e893cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion darts/tests/test_timeseries_static_covariates.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_ts_from_x(self, tmpdir_module):
def test_from_group_dataframe(self):
# checks that the time_index is of RangeIndex type when the time_col is a(n) (unsorted) list and/or a Rangeindex
group = ["a", "a", "a", "b", "b", "b"]
values = np.random.randn(len(group))
values = np.arange(len(group))

# for time as a unsorted list
time = [2, 1, 0, 0, 1, 2]
Expand Down

0 comments on commit 3e893cd

Please sign in to comment.